mirror of
https://github.com/Daichimarukana/uwuzu.git
synced 2026-06-05 03:24:41 +00:00
uwuzu v1.3.6 new_planet
This commit is contained in:
+8
-2
@@ -24,8 +24,11 @@ if (isset($_SERVER['HTTP_COOKIE'])) {
|
||||
setcookie('userid', '', time()-1000, '');
|
||||
setcookie('username', '', time()-1000, '');
|
||||
}
|
||||
header("Location: " . $_SERVER['PHP_SELF']);
|
||||
}
|
||||
$_SESSION = null;
|
||||
session_start();
|
||||
$_SESSION = array();
|
||||
session_destroy();
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
@@ -71,4 +74,7 @@ $_SESSION = null;
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
<script>
|
||||
document.cookie.split(";").forEach(function(c) { document.cookie = c.replace(/^ +/, "").replace(/=.*/, "=;expires=" + new Date().toUTCString() + ";path=/"); });
|
||||
</script>
|
||||
Reference in New Issue
Block a user