2
0
mirror of https://github.com/slawkens/myaac.git synced 2025-05-11 16:39:21 +02:00

Move admin pages part 2

This commit is contained in:
slawkens 2021-07-05 03:11:42 +02:00
parent a2a773d714
commit 7ab6b026fb
29 changed files with 1 additions and 1 deletions

@ -52,7 +52,7 @@ if(!$logged || !admin()) {
}
// include our page
$file = ADMIN . 'pages/admin/' . $page . '.php';
$file = ADMIN . 'pages/' . $page . '.php';
if(!@file_exists($file)) {
$page = '404';
$file = SYSTEM . 'pages/404.php';