]> git.wh0rd.org Git - tt-rss.git/commitdiff
block DAEMON_UPDATE_LOGIN_LIMIT in SINGLE_USER_MODE
authorAndrew Dolgov <fox@madoka.spb.ru>
Mon, 7 Aug 2006 12:22:39 +0000 (13:22 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Mon, 7 Aug 2006 12:22:39 +0000 (13:22 +0100)
sanity_check.php

index e234307363c364bd81530fcddd40d98a5fbca84a..faadfd9c33610afcde5e54e06a6c0046f68b8c10 100644 (file)
                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;
+       }
 ?>