summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/backend.php b/backend.php
index b6b3e0030..32eb3f3b9 100644
--- a/backend.php
+++ b/backend.php
@@ -26,7 +26,6 @@
require_once "autoload.php";
require_once "sessions.php";
require_once "functions.php";
- require_once "config.php";
require_once "db-prefs.php";
$op = (string)clean($op);
@@ -40,7 +39,7 @@
header("Content-Type: text/json; charset=utf-8");
- if (SINGLE_USER_MODE) {
+ if (Config::get(Config::SINGLE_USER_MODE)) {
UserHelper::authenticate( "admin", null);
}