diff options
author | Andrew Dolgov <[email protected]> | 2007-09-20 04:00:19 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-09-20 04:00:19 +0100 |
commit | b03b263195144c75ad4fa762ea94df4faef0b800 (patch) | |
tree | 3d3cd6a28ff7123a53733f0b8f3b0a598bbb29b2 | |
parent | 741edab27a6fa0cf3ae11d98106eb2e05c7592f3 (diff) |
check for COUNTERS_MAX_AGE
-rw-r--r-- | sanity_check.php | 4 |
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; |