Skip to content

Commit

Permalink
Rollback to requiring PHP 5.3 to fix Ubuntu 12.04 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert Santoni committed Dec 17, 2013
1 parent 431ce7c commit 04140c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions install_minimal/include/AirtimeInstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -532,9 +532,9 @@ public static function getOpts()

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;
Expand Down
4 changes: 2 additions & 2 deletions install_minimal/include/airtime-install.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
// 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);
}

Expand Down

0 comments on commit 04140c3

Please sign in to comment.