CC-2132: Airtime upgrade not working
-fixed up upgrade scriupt from 1.6.x to 1.7.0 -created an AirtimeIni php class
This commit is contained in:
parent
f5db45ecfe
commit
85cdc00254
5 changed files with 128 additions and 120 deletions
|
@ -5,9 +5,9 @@
|
|||
* @license http://www.gnu.org/licenses/gpl.txt
|
||||
*/
|
||||
|
||||
require_once(dirname(__FILE__).'/include/installInit.php');
|
||||
require_once(dirname(__FILE__).'/include/AirtimeIni.php');
|
||||
// Need to check that we are superuser before running this.
|
||||
ExitIfNotRoot();
|
||||
AirtimeIni::ExitIfNotRoot();
|
||||
|
||||
require_once(dirname(__FILE__).'/../application/configs/conf.php');
|
||||
require_once(dirname(__FILE__).'/include/AirtimeInstall.php');
|
||||
|
@ -73,7 +73,7 @@ if ($results == 0) {
|
|||
// Delete files
|
||||
//------------------------------------------------------------------------
|
||||
AirtimeInstall::DeleteFilesRecursive($CC_CONFIG['storageDir']);
|
||||
RemoveINIFile();
|
||||
AirtimeIni::RemoveIniFiles();
|
||||
|
||||
$command = "python ".__DIR__."/../python_apps/pypo/install/pypo-uninstall.py";
|
||||
system($command);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue