CC-2693: Copy PHP files to /usr/shar/airtime instead of /var/www/airtime
- done for new install - upgrade need some more work
This commit is contained in:
parent
d6692b7cf9
commit
376ae1370c
14 changed files with 513 additions and 10 deletions
|
@ -569,14 +569,15 @@ class Airtime190Upgrade{
|
|||
}
|
||||
|
||||
|
||||
public static function removeOldAirtimeImport(){
|
||||
// we don't need thses functions anymore as it's done in CreateSymlinksToUtils()
|
||||
/*public static function removeOldAirtimeImport(){
|
||||
exec('rm -f "/usr/bin/airtime-import"');
|
||||
}
|
||||
|
||||
public static function updateAirtimeImportSymLink(){
|
||||
$dir = "/usr/lib/airtime/utils/airtime-import/airtime-import";
|
||||
exec("ln -s $dir /usr/bin/airtime-import");
|
||||
}
|
||||
}*/
|
||||
|
||||
public static function execSqlQuery($sql){
|
||||
global $CC_DBC;
|
||||
|
@ -793,8 +794,9 @@ Airtime190Upgrade::CopyUtils();
|
|||
/* James made a new airtime-import script, lets remove the old airtime-import php script,
|
||||
*install the new airtime-import.py script and update the /usr/bin/symlink.
|
||||
*/
|
||||
Airtime190Upgrade::removeOldAirtimeImport();
|
||||
Airtime190Upgrade::updateAirtimeImportSymLink();
|
||||
// we don't need thses functions anymore as it's done in CreateSymlinksToUtils()
|
||||
/*Airtime190Upgrade::removeOldAirtimeImport();
|
||||
Airtime190Upgrade::updateAirtimeImportSymLink();*/
|
||||
|
||||
Airtime190Upgrade::connectToDatabase();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue