diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-09-10 21:31:50 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-09-10 21:31:50 -0700 |
commit | 7fddd2aced1821f977323fc75f2954f2b240ae37 (patch) | |
tree | ff44b50c5badfaa3618b3b3273a54e368c646ea1 /modules/gallery/controllers/welcome_message.php | |
parent | 3d60e39a7b46e61316780405616a47bf2000eb42 (diff) |
Use abs_url() inside url::redirect() calls so that we don't just wind
up tacking onto the base url.
Diffstat (limited to 'modules/gallery/controllers/welcome_message.php')
-rw-r--r-- | modules/gallery/controllers/welcome_message.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/controllers/welcome_message.php b/modules/gallery/controllers/welcome_message.php index a4b690e3..8fd1e0a0 100644 --- a/modules/gallery/controllers/welcome_message.php +++ b/modules/gallery/controllers/welcome_message.php @@ -20,7 +20,7 @@ class Welcome_Message_Controller extends Controller { public function index() { if (!user::active()->admin) { - url::redirect(item::root()->url()); + url::redirect(item::root()->abs_url()); } $v = new View("welcome_message.html"); |