Initial commit

This commit is contained in:
Porawit Dongwang
2026-09-16 23:20:08 +07:00
commit 0041668dbb
32577 changed files with 3687927 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
<?php
// index.php - Router
session_start();
if (!empty($_SESSION['sess_userid']) && $_SESSION['sess_userid'] === session_id()) {
header("Location: views/dashboard.php");
exit();
} else {
header("Location: views/login.php");
exit();
}
?>