CC-2722: Overwrite error on upgrade from 1.8.2 to 1.9.3

- fix on 2.0.0 upgrade
This commit is contained in:
James 2011-08-31 10:09:35 -04:00
parent d0ecd0acf1
commit 1c624d363a
1 changed files with 2 additions and 0 deletions

View File

@ -144,6 +144,8 @@ class Airtime200Upgrade{
$AIRTIME_SRC = realpath(__DIR__.'/../../../airtime_mvc');
// delete old files
exec("rm -rf ".$phpDir);
echo "* Installing PHP code to ".$phpDir.PHP_EOL;
exec("mkdir -p ".$phpDir);
exec("cp -R ".$AIRTIME_SRC."/* ".$phpDir);