コード例 #1
0
ファイル: Auth.class.php プロジェクト: GGF/baza4
 /**
  * Обработчик действия "выход"
  */
 public function action_logout()
 {
     $this->_model->resetsession(session_id());
     echo "<script>localStorage.removeItem('remember');</script>";
     // Unset all of the session variables.
     session_unset();
     // Finally, destroy the session.
     session_destroy();
     $this->success = false;
     $this->gohome();
 }
コード例 #2
0
ファイル: authcontroller.php プロジェクト: Andrew365/PHP
 public function createtables()
 {
     require 'app/models/authmodel.php';
     $auth = new Auth_model();
     $auth->createtables();
 }
コード例 #3
0
ファイル: User.php プロジェクト: ksdtech/conference-manager
 public function __construct()
 {
     parent::__construct();
 }