Rollback to requiring PHP 5.3 to fix Ubuntu 12.04 support
This commit is contained in:
parent
431ce7cefb
commit
04140c38d1
|
@ -532,9 +532,9 @@ class AirtimeInstall
|
|||
|
||||
public static function checkPHPVersion()
|
||||
{
|
||||
if (PHP_VERSION_ID < 50400)
|
||||
if (PHP_VERSION_ID < 50300)
|
||||
{
|
||||
echo "Error: Airtime requires PHP 5.4 or greater.";
|
||||
echo "Error: Airtime requires PHP 5.3 or greater.";
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
|
@ -12,9 +12,9 @@ require_once(__DIR__.'/airtime-constants.php');
|
|||
// The only way we get here is if we are doing a new install or a reinstall.
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
if (PHP_VERSION_ID < 50400) //PHP 5.4
|
||||
if (PHP_VERSION_ID < 50300) //PHP 5.3
|
||||
{
|
||||
echo("ERROR: Your PHP version is too old!\nAirtime requires PHP 5.4 or greater.\n");
|
||||
echo("ERROR: Your PHP version is too old!\nAirtime requires PHP 5.3 or greater.\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue