File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -490,6 +490,13 @@ function mb_strtolower($string)
490490 if (version_compare (PHP_VERSION , '5.4.0 ' , '< ' ) && WARN_ABOUT_PHP_SETTINGS ) {
491491 Error (s ('Your PHP version is out of date. phpList requires PHP version 5.4.0 or higher. ' ));
492492 }
493+ if (defined ('RELEASEDATE ' ) && ((time () - RELEASEDATE ) / 31536000 ) > 2 ) {
494+ Fatal_Error (s ('Your phpList version is older than two years. Please %supgrade phpList</a> before continuing.</br>
495+ Visit <a href="https://www.phplist.org/users/" title=" ' .s ('Get some help ' ).'">the support site</a> if you need some help. '
496+ ,'<a href="https://www.phplist.com/download?utm_source=pl ' .VERSION .'&utm_medium=outdated-download-forced&utm_campaign=phpList" title=" ' .s ('Download the latest version ' ).'" target="_blank"> ' ));
497+ return ;
498+ }
499+
493500 if (!defined ('PHP_VERSION_ID ' ) || PHP_VERSION_ID < 50300 ) {
494501 Fatal_Error (s ('Your PHP version is too old. Please upgrade PHP before continuing ' ));
495502 return ;
You can’t perform that action at this time.
0 commit comments