summaryrefslogtreecommitdiff
path: root/sanity_check.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-08-07 13:22:39 +0100
committerAndrew Dolgov <[email protected]>2006-08-07 13:22:39 +0100
commit072807181920d51b112db5d17c5ad83566632c24 (patch)
treee42fde351d3e8e459bf7b21a9cf385e65ef4fa6f /sanity_check.php
parentb47b5af7b966fac3acb50ce94e4a81f181743965 (diff)
block DAEMON_UPDATE_LOGIN_LIMIT in SINGLE_USER_MODE
Diffstat (limited to 'sanity_check.php')
-rw-r--r--sanity_check.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/sanity_check.php b/sanity_check.php
index e23430736..faadfd9c3 100644
--- a/sanity_check.php
+++ b/sanity_check.php
@@ -53,4 +53,10 @@
supported now.";
exit;
}
+
+ if (SINGLE_USER_MODE && DAEMON_UPDATE_LOGIN_LIMIT > 0) {
+ print "<b>Fatal Error</b>: Please set DAEMON_UPDATE_LOGIN_LIMIT
+ to 0 in single user mode.";
+ exit;
+ }
?>