From b03b263195144c75ad4fa762ea94df4faef0b800 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 20 Sep 2007 04:00:19 +0100 Subject: [PATCH] check for COUNTERS_MAX_AGE --- sanity_check.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sanity_check.php b/sanity_check.php index 1f5c0210..94bf91b2 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 "".__("Fatal Error").": $err_msg\n"; exit; -- 2.39.5