summaryrefslogtreecommitdiff
path: root/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'app.php')
-rw-r--r--app.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/app.php b/app.php
index 8d3cb02..b6651c9 100644
--- a/app.php
+++ b/app.php
@@ -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";
}
}
}