feat: enable deployment in subdirectory

This commit is contained in:
Jadeiin
2024-02-19 09:24:15 +01:00
committed by GitHub
parent 902cf3038a
commit e2af9afc32
8 changed files with 24 additions and 22 deletions
+2 -2
View File
@@ -12,8 +12,8 @@
$_SESSION = array();
session_destroy();
$cookieExpire = time() - 3600;
setcookie('wallos_login', '', $cookieExpire, '/');
setcookie('wallos_login', '', $cookieExpire);
$db->close();
header("Location: /");
header("Location: .");
exit();
?>