mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #1483 [install] cleanly alert user of PHP required version
This commit is contained in:
@@ -239,7 +239,8 @@ header('Content-Type: text/html; charset=UTF-8');
|
||||
//------------------------------------------------- check php version
|
||||
if (version_compare(PHP_VERSION, REQUIRED_PHP_VERSION, '<'))
|
||||
{
|
||||
include(PHPWG_ROOT_PATH.'install/php5_apache_configuration.php');
|
||||
// include(PHPWG_ROOT_PATH.'install/php5_apache_configuration.php'); // to remove, with all its related content
|
||||
$errors[] = l10n('PHP version %s required (you are running on PHP %s)', REQUIRED_PHP_VERSION, PHP_VERSION);
|
||||
}
|
||||
|
||||
//----------------------------------------------------- template initialization
|
||||
|
||||
Reference in New Issue
Block a user