diff options
| author | Andrew Dolgov <fox@madoka.spb.ru> | 2006-08-07 13:22:39 +0100 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.spb.ru> | 2006-08-07 13:22:39 +0100 |
| commit | 072807181920d51b112db5d17c5ad83566632c24 (patch) | |
| tree | e42fde351d3e8e459bf7b21a9cf385e65ef4fa6f | |
| parent | b47b5af7b966fac3acb50ce94e4a81f181743965 (diff) | |
block DAEMON_UPDATE_LOGIN_LIMIT in SINGLE_USER_MODE
| -rw-r--r-- | sanity_check.php | 6 |
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; + } ?> |