]> git.wh0rd.org Git - tt-rss.git/commitdiff
check for COUNTERS_MAX_AGE
authorAndrew Dolgov <fox@madoka.spb.ru>
Thu, 20 Sep 2007 03:00:19 +0000 (04:00 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Thu, 20 Sep 2007 03:00:19 +0000 (04:00 +0100)
sanity_check.php

index 1f5c0210c36f31f4cdc620f16f94d5c953b0842b..94bf91b2836e08bd95c5417cf8d69b242b5db969 100644 (file)
                $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;