예제 #1
0
 public static function client_logout()
 {
     $login = EHeaderDataParser::get_cookie("login");
     $password = EHeaderDataParser::get_cookie("password");
     EHeaderDataParser::del_cookie("login");
     EHeaderDataParser::del_cookie("password");
 }
예제 #2
0
 public static function logout()
 {
     EHeaderDataParser::del_cookie(EProtect::$localkey);
     $sp = ELoader::$subsite_path;
     header('Location: ' . $sp . '');
 }