From 17c0eeba6f590865dccd4fdb25b4c14c7c8b8b10 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 25 Sep 2007 05:06:21 +0100 Subject: force DAEMON_REFRESH_ONLY, block synchronous updating --- sanity_check.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sanity_check.php') diff --git a/sanity_check.php b/sanity_check.php index 94bf91b28..a4f5c05c4 100644 --- a/sanity_check.php +++ b/sanity_check.php @@ -74,6 +74,11 @@ $err_msg = __("config: option COUNTERS_MAX_AGE expected, but not defined"); } + if (defined('DAEMON_REFRESH_ONLY') && DAEMON_REFRESH_ONLY != true) { + $err_msg = __("config: option DAEMON_REFRESH_ONLY is obsolete. Please remove this option and read about other ways to update feeds on the wiki."); + + } + if ($err_msg) { print "".__("Fatal Error").": $err_msg\n"; exit; -- cgit v1.2.3-54-g00ecf