diff options
Diffstat (limited to 'app.php')
-rw-r--r-- | app.php | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -2,9 +2,9 @@ ob_start(); -require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/language.inc"; global $lang; global $pages; -require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.inc"; global $isLoggedIn; global $isLowerLoggedIn; -require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/functions.inc"; +require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/util/language.inc"; global $lang; global $pages; +require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/util/session.inc"; global $isLoggedIn; global $isLowerLoggedIn; +require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/util/functions.inc"; $app = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/app.json"), true); @@ -84,8 +84,8 @@ if (in_array($toplevel, ["editor", "icons", "species", "uploads"])) { require_once $_SERVER['DOCUMENT_ROOT'] . "/pages/page.inc"; } else { global $toplevel; - $pageFile = $_SERVER['DOCUMENT_ROOT'] . "/includes/short.inc"; - require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/short.inc"; + $pageFile = $_SERVER['DOCUMENT_ROOT'] . "/includes/util/short.inc"; + require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/util/short.inc"; } } } |