1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-31 09:31:29 +00:00

force DAEMON_REFRESH_ONLY, block synchronous updating

This commit is contained in:
Andrew Dolgov
2007-09-25 05:06:21 +01:00
parent 31a6d42de4
commit 17c0eeba6f
4 changed files with 7 additions and 29 deletions

View File

@@ -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;