1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 10:55:56 +00:00

check for COUNTERS_MAX_AGE

This commit is contained in:
Andrew Dolgov
2007-09-20 04:00:19 +01:00
parent 741edab27a
commit b03b263195

View File

@@ -70,6 +70,10 @@
$err_msg = __("config: MAIL_FROM has been split into DIGEST_FROM_NAME and DIGEST_FROM_ADDRESS");
}
if (!defined('COUNTERS_MAX_AGE')) {
$err_msg = __("config: option COUNTERS_MAX_AGE expected, but not defined");
}
if ($err_msg) {
print "<b>".__("Fatal Error")."</b>: $err_msg\n";
exit;