|
|
@ -46,8 +46,8 @@
|
|
|
|
array_push($errors, "Please don't run this script as root.");
|
|
|
|
array_push($errors, "Please don't run this script as root.");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (version_compare(PHP_VERSION, '5.4.0', '<')) {
|
|
|
|
if (version_compare(PHP_VERSION, '5.6.0', '<')) {
|
|
|
|
array_push($errors, "PHP version 5.4.0 or newer required.");
|
|
|
|
array_push($errors, "PHP version 5.6.0 or newer required.");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (CONFIG_VERSION != EXPECTED_CONFIG_VERSION) {
|
|
|
|
if (CONFIG_VERSION != EXPECTED_CONFIG_VERSION) {
|
|
|
|