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/langs.php

    r2720 r2852  
    5050 
    5151          dcPage::addSuccessNotice(__('Language has been successfully deleted.')); 
    52           http::redirect($core->adminurl->get("admin.langs")); 
     52          $core->adminurl->redirect("admin.langs"); 
    5353     } 
    5454     catch (Exception $e) 
     
    9393               dcPage::addSuccessNotice(__('Language has been successfully installed.')); 
    9494          } 
    95           http::redirect($core->adminurl->get("admin.langs")); 
     95          $core->adminurl->redirect("admin.langs"); 
    9696     } 
    9797     catch (Exception $e) 
     
    129129               dcPage::addSuccessNotice(__('Language has been successfully installed.')); 
    130130          } 
    131           http::redirect($core->adminurl->get("admin.langs")); 
     131          $core->adminurl->redirect("admin.langs"); 
    132132     } 
    133133     catch (Exception $e) 
Note: See TracChangeset for help on using the changeset viewer.

Sites map