From 072807181920d51b112db5d17c5ad83566632c24 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 7 Aug 2006 13:22:39 +0100 Subject: [PATCH] block DAEMON_UPDATE_LOGIN_LIMIT in SINGLE_USER_MODE --- sanity_check.php | 6 ++++++ 1 file changed, 6 insertions(+) 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 "Fatal Error: Please set DAEMON_UPDATE_LOGIN_LIMIT + to 0 in single user mode."; + exit; + } ?>