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