From: Andrew Dolgov Date: Mon, 7 Aug 2006 12:22:39 +0000 (+0100) Subject: block DAEMON_UPDATE_LOGIN_LIMIT in SINGLE_USER_MODE X-Git-Tag: schema_freeze_for_1.2.2~26 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=072807181920d51b112db5d17c5ad83566632c24;p=tt-rss.git block DAEMON_UPDATE_LOGIN_LIMIT in SINGLE_USER_MODE --- diff --git a/sanity_check.php b/sanity_check.php index e2343073..faadfd9c 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; + } ?>