From f0c27f53cf1c7a4566eed5067bf78b374a3e5abc Mon Sep 17 00:00:00 2001 From: Michiel Dethmers Date: Sun, 2 Mar 2025 18:10:51 +0000 Subject: [PATCH] make out-of-date message slightly less blocking --- public_html/lists/admin/index.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/public_html/lists/admin/index.php b/public_html/lists/admin/index.php index c747423e7..b5d2e3b51 100644 --- a/public_html/lists/admin/index.php +++ b/public_html/lists/admin/index.php @@ -558,6 +558,12 @@ function mb_strtolower($string) Info( s('Running DEV version, but developer email is not set') ); } } + if (defined('RELEASEDATE') && ((time() - RELEASEDATE) / 31536000) > 2) { + Info(s('Your phpList version is older than two years. Please %supgrade phpList before continuing.
+ Visit the support site if you need some help.' + ,'')); + } + if (TEST) { echo Info($GLOBALS['I18N']->get('Running in testmode, no emails will be sent. Check your config file.')); } @@ -585,12 +591,6 @@ function mb_strtolower($string) if (version_compare(PHP_VERSION, '5.3.3', '<') && WARN_ABOUT_PHP_SETTINGS) { Error(s('Your PHP version is out of date. phpList requires PHP version 5.3.3 or higher.')); } - if (defined('RELEASEDATE') && ((time() - RELEASEDATE) / 31536000) > 2) { - Fatal_Error(s('Your phpList version is older than two years. Please %supgrade phpList before continuing.
- Visit the support site if you need some help.' - ,'')); - return; - } if (defined('ENABLE_RSS') && ENABLE_RSS && !function_exists('xml_parse') && WARN_ABOUT_PHP_SETTINGS) { Warn($GLOBALS['I18N']->get('You are trying to use RSS, but XML is not included in your PHP'));