summaryrefslogtreecommitdiff
path: root/sanity_check.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-09-20 04:00:19 +0100
committerAndrew Dolgov <[email protected]>2007-09-20 04:00:19 +0100
commitb03b263195144c75ad4fa762ea94df4faef0b800 (patch)
tree3d3cd6a28ff7123a53733f0b8f3b0a598bbb29b2 /sanity_check.php
parent741edab27a6fa0cf3ae11d98106eb2e05c7592f3 (diff)
check for COUNTERS_MAX_AGE
Diffstat (limited to 'sanity_check.php')
-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;