cc-2055: switch to init.d

-enable upgrade script
This commit is contained in:
martin 2011-06-01 17:19:28 -04:00
parent 49589c284d
commit e64c8da414
3 changed files with 40 additions and 10 deletions

View file

@ -75,9 +75,9 @@ if(strcmp($version, "1.8.1") < 0) {
if(strcmp($version, "1.8.2") < 0) {
system("php ".__DIR__."/upgrades/airtime-1.8.2/airtime-upgrade.php");
}
//if (strcmp($version, "1.9.0") < 0){
//system("php ".__DIR__."/upgrades/airtime-1.9/airtime-upgrade.php");
//}
if (strcmp($version, "1.9.0") < 0){
system("php ".__DIR__."/upgrades/airtime-1.9/airtime-upgrade.php");
}
//set the new version in the database.