check for COUNTERS_MAX_AGE

This commit is contained in:
Andrew Dolgov 2007-09-20 04:00:19 +01:00
parent 741edab27a
commit b03b263195
1 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,10 @@
$err_msg = __("config: MAIL_FROM has been split into DIGEST_FROM_NAME and DIGEST_FROM_ADDRESS"); $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) { if ($err_msg) {
print "<b>".__("Fatal Error")."</b>: $err_msg\n"; print "<b>".__("Fatal Error")."</b>: $err_msg\n";
exit; exit;