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:
James 2011-08-30 16:29:27 -04:00
parent 772558e610
commit a5b29e1276
1 changed files with 2 additions and 1 deletions

View File

@ -547,7 +547,8 @@ class Airtime190Upgrade{
public static function InstallAirtimePhpServerCode($phpDir)
{
// delete old files
exec("rm -rf ".$phpDir);
$AIRTIME_SRC = realpath(__DIR__.'/../../../airtime_mvc');
echo "* Installing PHP code to ".$phpDir.PHP_EOL;