Rollback to requiring PHP 5.3 to fix Ubuntu 12.04 support

This commit is contained in:
Albert Santoni 2013-12-17 12:56:56 -05:00
parent 431ce7cefb
commit 04140c38d1
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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);
}