diff options
Diffstat (limited to 'php/admin/logout.php')
-rw-r--r-- | php/admin/logout.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/php/admin/logout.php b/php/admin/logout.php index d980d9d..f876efe 100644 --- a/php/admin/logout.php +++ b/php/admin/logout.php @@ -6,7 +6,5 @@ */ require_once('../cfg/init.php'); require_once(LIB.'/auth.php'); -auth_logout(); +Auth::logout(); header('Location: http://'.$_SERVER['HTTP_HOST'].WEBPATH.'/admin/login.php'); -exit; -?> |