After logout go to login page
This commit is contained in:
parent
78735f67f2
commit
2b1e09646b
|
@ -21,5 +21,5 @@
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
|
||||||
if ($login->logout()) {
|
if ($login->logout()) {
|
||||||
Redirect::home();
|
Redirect::admin();
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,4 +22,8 @@ class Redirect {
|
||||||
self::url(HTML_PATH_ROOT);
|
self::url(HTML_PATH_ROOT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function admin()
|
||||||
|
{
|
||||||
|
self::url(HTML_PATH_ADMIN_ROOT);
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue