summaryrefslogtreecommitdiff
path: root/update_daemon.php
diff options
context:
space:
mode:
Diffstat (limited to 'update_daemon.php')
-rw-r--r--update_daemon.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/update_daemon.php b/update_daemon.php
index be118711b..b9d5d571a 100644
--- a/update_daemon.php
+++ b/update_daemon.php
@@ -11,6 +11,11 @@
require_once "sanity_check.php";
require_once "config.php";
+
+ if (!ENABLE_UPDATE_DAEMON) {
+ die("Please enable option ENABLE_UPDATE_DAEMON in config.php");
+ }
+
require_once "db.php";
require_once "db-prefs.php";
require_once "functions.php";