PHP 5.4 is no more supported. Minimum PHP is now 5.5+.

This commit is contained in:
Laurent Destailleur 2019-04-06 13:20:26 +02:00
parent c61cbd7b15
commit 302a42a603
2 changed files with 3 additions and 2 deletions

View File

@ -16,6 +16,7 @@ NEW: Module DebugBar is available as a stable module.
WARNING:
Following changes may create regressions for some external modules, but were necessary to make Dolibarr better:
* PHP 5.4 is no more supported. Minimum PHP is now 5.5+.
* The PHP extension php-intl is not mandatory but should be installed to have new features working correctly.
* Method GetUrlTrackingStatus were renamed into getUrlTrackingStatus for consistency with naming rules.
* API getListOfCivility has been renamed into getListOfCivilities for consistency with naming rules.

View File

@ -76,8 +76,8 @@ if (! empty($useragent))
// Check PHP version
$arrayphpminversionerror = array(5,4,0);
$arrayphpminversionwarning = array(5,4,0);
$arrayphpminversionerror = array(5,5,0);
$arrayphpminversionwarning = array(5,5,0);
if (versioncompare(versionphparray(), $arrayphpminversionerror) < 0) // Minimum to use (error if lower)
{
print '<img src="../theme/eldy/img/error.png" alt="Error"> '.$langs->trans("ErrorPHPVersionTooLow", versiontostring($arrayphpminversionerror));