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

    r2720 r2852  
    5252          $core->callBehavior('adminAfterBlogCreate',$cur,$blog_id,$blog_settings); 
    5353          dcPage::addSuccessNotice(sprintf(__('Blog "%s" successfully created'), html::escapeHTML($cur->blog_name))); 
    54           http::redirect($core->adminurl->get("admin.blog", array('id' => $cur->blog_id))); 
     54          $core->adminurl->redirect("admin.blog", array('id' => $cur->blog_id)); 
    5555     } 
    5656     catch (Exception $e) 
Note: See TracChangeset for help on using the changeset viewer.

Sites map