issue #56: minimum version required is PHP 5.3.7
parent
6655f990b0
commit
446ae115ea
|
@ -4,6 +4,7 @@ Changelog
|
||||||
not yet released
|
not yet released
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
|
* #56: Minimum PHP version is PHP 5.3.7 (not PHP 5.3.0).
|
||||||
* #57: Added Chinese translation.
|
* #57: Added Chinese translation.
|
||||||
* #58: Server order on users page now matches the order on servers page.
|
* #58: Server order on users page now matches the order on servers page.
|
||||||
* #59: Warning threshold ignored for notification trigger.
|
* #59: Warning threshold ignored for notification trigger.
|
||||||
|
|
|
@ -88,9 +88,9 @@ class InstallController extends AbstractController {
|
||||||
$errors = 0;
|
$errors = 0;
|
||||||
|
|
||||||
$phpv = phpversion();
|
$phpv = phpversion();
|
||||||
if(version_compare($phpv, '5.3.0', '<')) {
|
if(version_compare($phpv, '5.3.7', '<')) {
|
||||||
$errors++;
|
$errors++;
|
||||||
$this->addMessage('PHP 5.3+ is required to run PHP Server Monitor.', 'error');
|
$this->addMessage('PHP 5.3.7+ is required to run PHP Server Monitor.', 'error');
|
||||||
} else {
|
} else {
|
||||||
$this->addMessage('PHP version: ' . $phpv, 'success');
|
$this->addMessage('PHP version: ' . $phpv, 'success');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue