CC-2722: Overwrute errir on upgrade from 1.8.2 to 1.9.3
- fixed by removing old files before copy
This commit is contained in:
parent
772558e610
commit
a5b29e1276
|
@ -547,7 +547,8 @@ class Airtime190Upgrade{
|
||||||
|
|
||||||
public static function InstallAirtimePhpServerCode($phpDir)
|
public static function InstallAirtimePhpServerCode($phpDir)
|
||||||
{
|
{
|
||||||
|
// delete old files
|
||||||
|
exec("rm -rf ".$phpDir);
|
||||||
$AIRTIME_SRC = realpath(__DIR__.'/../../../airtime_mvc');
|
$AIRTIME_SRC = realpath(__DIR__.'/../../../airtime_mvc');
|
||||||
|
|
||||||
echo "* Installing PHP code to ".$phpDir.PHP_EOL;
|
echo "* Installing PHP code to ".$phpDir.PHP_EOL;
|
||||||
|
|
Loading…
Reference in New Issue