예제 #1
0
 function logout()
 {
     require_once WEBAPPROOT . 'security/AuthentificationManager.php';
     $auth = new AuthentificationManager();
     $auth->logout();
     $this->redirect('admin');
     exit;
 }
예제 #2
0
 function logout()
 {
     require_once WEBAPPROOT . 'security/AuthentificationManager.php';
     $auth = new AuthentificationManager();
     $auth->logout();
     header("Location: " . ROOT);
     exit;
 }