CC-2172 : Create Upgrade structure so that a user can upgrade from any version of Airtime properly
This commit is contained in:
parent
c4e264b936
commit
5cfeadcbfe
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue