summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sanity_check.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/sanity_check.php b/sanity_check.php
index 1f5c0210c..94bf91b28 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 "<b>".__("Fatal Error")."</b>: $err_msg\n";
exit;