diff options
author | Andrew Dolgov <[email protected]> | 2007-09-25 05:06:21 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-09-25 05:06:21 +0100 |
commit | 17c0eeba6f590865dccd4fdb25b4c14c7c8b8b10 (patch) | |
tree | 06b3686065138ab8c363b63fe743ab788dc6b9bf /sanity_check.php | |
parent | 31a6d42de4be9cb20317a7744190c891cd1ded55 (diff) |
force DAEMON_REFRESH_ONLY, block synchronous updating
Diffstat (limited to 'sanity_check.php')
-rw-r--r-- | sanity_check.php | 5 |
1 files changed, 5 insertions, 0 deletions
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 <a href='http://tt-rss.spb.ru/trac/wiki/UpdatingFeeds'>wiki</a>."); + + } + if ($err_msg) { print "<b>".__("Fatal Error")."</b>: $err_msg\n"; exit; |