mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-03 05:31:16 -04:00
Use abs_url() inside url::redirect() calls so that we don't just wind
up tacking onto the base url.
This commit is contained in:
@@ -31,7 +31,7 @@ class Logout_Controller extends Controller {
|
||||
// Don't use url::redirect() because it'll call url::site() and munge the continue url.
|
||||
header("Location: $continue_url");
|
||||
} else {
|
||||
url::redirect(item::root()->url());
|
||||
url::redirect(item::root()->abs_url());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user