diff --git a/bl-kernel/admin/controllers/logout.php b/bl-kernel/admin/controllers/logout.php index dbb5794e..68fbb5e7 100644 --- a/bl-kernel/admin/controllers/logout.php +++ b/bl-kernel/admin/controllers/logout.php @@ -21,5 +21,5 @@ // ============================================================================ if ($login->logout()) { - Redirect::home(); + Redirect::admin(); } diff --git a/bl-kernel/helpers/redirect.class.php b/bl-kernel/helpers/redirect.class.php index 6655faed..323d9185 100644 --- a/bl-kernel/helpers/redirect.class.php +++ b/bl-kernel/helpers/redirect.class.php @@ -22,4 +22,8 @@ class Redirect { self::url(HTML_PATH_ROOT); } + public static function admin() + { + self::url(HTML_PATH_ADMIN_ROOT); + } } \ No newline at end of file