Update action function fix

+ small changes before release
This commit is contained in:
RainLoop Team 2013-12-11 01:25:37 +04:00
parent e118f5a458
commit 0358827835
5 changed files with 9 additions and 4 deletions

View file

@ -2658,7 +2658,7 @@ class Actions
{
\MailSo\Base\Utils::CopyDir($sTmpFolder.'/rainloop/', APP_INDEX_ROOT_PATH.'rainloop/');
if (!\is_dir(APP_INDEX_ROOT_PATH.'rainloop/v/'.$sNewVersion) &&
if (\is_dir(APP_INDEX_ROOT_PATH.'rainloop/v/'.$sNewVersion) &&
\copy($sTmpFolder.'/data/VERSION', APP_DATA_FOLDER_PATH.'VERSION'))
{
if (\md5_file($sTmpFolder.'/index.php') !== \md5_file(APP_INDEX_ROOT_PATH.'index.php'))