From: Andrew Dolgov Date: Thu, 20 Sep 2007 03:00:19 +0000 (+0100) Subject: check for COUNTERS_MAX_AGE X-Git-Tag: 1.2.16~29 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b03b263195144c75ad4fa762ea94df4faef0b800;p=tt-rss.git check for COUNTERS_MAX_AGE --- diff --git a/sanity_check.php b/sanity_check.php index 1f5c0210..94bf91b2 100644 --- a/sanity_check.php +++ b/sanity_check.php @@ -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 "".__("Fatal Error").": $err_msg\n"; exit;