Coba Commit

This commit is contained in:
naukyy
2026-06-12 22:46:13 +07:00
parent f167f233b7
commit 66bb4c4c7c
126 changed files with 1613 additions and 866 deletions
+13
View File
@@ -0,0 +1,13 @@
<?php
require_once __DIR__ . '/core_config/session_mgr.php';
startAppSession();
if (isset($_SESSION['user_id'])) {
if ($_SESSION['role'] === 'admin') {
header('Location: panel_admin/index.php');
} else {
header('Location: panel_user/index.php');
}
exit;
}
header('Location: login.php');
exit;