Initial commit

This commit is contained in:
“VeLiTi”
2025-01-30 11:43:37 +01:00
commit 6f1cc27ec4
823 changed files with 233091 additions and 0 deletions

14
logout.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
// Prevent direct access to file
defined(security_key) or exit;
// check if customer is logged-in...
if (isset($_SESSION['account_loggedin'])) {
// Remove the session variables
unset($_SESSION['account_loggedin']);
unset($_SESSION['account_id']);
unset($_SESSION['account_role']);
unset($_SESSION['banner']);
}
// Redirect to home page
header('Location: ' . url('index.php'));
?>