CC-2172 : Create Upgrade structure so that a user can upgrade from any version of Airtime properly

This commit is contained in:
Naomi 2011-04-12 14:15:20 -04:00
parent c4e264b936
commit 5cfeadcbfe
1 changed files with 1 additions and 4 deletions

View File

@ -10,11 +10,8 @@ require_once(dirname(__FILE__).'/include/AirtimeIni.php');
require_once(dirname(__FILE__).'/include/AirtimeInstall.php');
AirtimeIni::ExitIfNotRoot();
AirtimeInstall::DbConnect(true);
//if(file_exists(dirname(__FILE__).'/../VERSION')) {
// $version = file_get_contents(dirname(__FILE__).'/../VERSION');
// echo "Airtime Version: ".$version." ".PHP_EOL;
//}
if(AirtimeInstall::DbTableExists('cc_show_rebroadcast') === true) {
$version = "1.7.0";
echo "Airtime Version: ".$version." ".PHP_EOL;