Dotclear


Ignore:
Timestamp:
12/16/14 21:59:13 (11 years ago)
Author:
Dsls
Branch:
2.7
Message:

Tuned redirections and admin urls management, should work with media & attachments now
Added adminurl->redirect to avoid confusion in "when to use & and when not to"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/auth.php

    r2792 r2852  
    1616if (isset($_SESSION['sess_user_id'])) 
    1717{ 
    18      http::redirect($core->adminurl->get('admin.home')); 
     18     $core->adminurl->redirect('admin.home'); 
    1919} 
    2020 
     
    185185          } 
    186186 
    187           http::redirect($core->adminurl->get('admin.home')); 
     187          $core->adminurl->redirect('admin.home'); 
    188188     } 
    189189     catch (Exception $e) 
     
    243243          } 
    244244 
    245           http::redirect($core->adminurl->get('admin.home')); 
     245          $core->adminurl->redirect('admin.home'); 
    246246     } 
    247247     else 
Note: See TracChangeset for help on using the changeset viewer.

Sites map