diff options
Diffstat (limited to 'update_daemon.php')
-rw-r--r-- | update_daemon.php | 5 |
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"; |