This commit is contained in:
2026-02-04 23:31:53 +01:00
commit cd59ccd99b
2401 changed files with 56808 additions and 0 deletions

9
pages/index().php Normal file
View File

@@ -0,0 +1,9 @@
<?php
use MintyPHP\Router;
if (isset($_SESSION['user'])) {
Router::redirect('admin');
} else {
Router::redirect('login');
}