Merge pull request #329 from GaneshKandu/patch-1

Error message correction on PHP version check in QloApps 1.5.2 Installation
This commit is contained in:
Rohit Jain
2022-02-14 18:19:19 +05:30
committed by GitHub

View File

@@ -87,7 +87,7 @@ class InstallControllerHttpSystem extends InstallControllerHttp
'title' => $this->l('Required PHP parameters'),
'success' => 1,
'checks' => array(
'phpversion' => $this->l('Minimum PHP 5.4.0 or later is required'),
'phpversion' => $this->l('Minimum PHP 5.6.0 or later is required'),
'upload' => $this->l('Cannot upload files'),
'system' => $this->l('Cannot create new files and folders'),
'gd' => $this->l('GD library is not installed'),
@@ -133,7 +133,7 @@ class InstallControllerHttpSystem extends InstallControllerHttp
'title' => $this->l('Recommended PHP parameters'),
'success' => $this->tests['optional']['success'],
'checks' => array(
'new_phpversion' => sprintf($this->l('You are using PHP %s version. Soon, the latest PHP version supported by Qloapps will be PHP 5.4. To make sure you’re ready for the future, we recommend you to upgrade to PHP 5.4 now!'), phpversion()),
'new_phpversion' => sprintf($this->l('You are using PHP %s version. Soon, the latest PHP version supported by Qloapps will be PHP 5.6. To make sure you’re ready for the future, we recommend you to upgrade to PHP 5.6 now!'), phpversion()),
'register_globals' => $this->l('PHP register_globals option is enabled'),
'gz' => $this->l('GZIP compression is not activated'),
'mcrypt' => $this->l('Mcrypt extension is not enabled'),