fix premisson

master
NimaQu 8 years ago
parent 845eea7c88
commit cd21fb91f8
No known key found for this signature in database
GPG Key ID: 4BD8E2360BA9361E

@ -124,7 +124,7 @@ class Update
system('php '.BASE_PATH.'/composer.phar selfupdate');
system('php '.BASE_PATH.'/composer.phar install -d '.BASE_PATH);
echo('升级composer依赖结束,请自行根据上方输出确认是否升级成功'.PHP_EOL);
system('rm -rf '.BASE_PATH.'/storage/framework/smarty/compile/');
system('rm -rf '.BASE_PATH.'/storage/framework/smarty/compile/*');
system('chown -R www:www '.BASE_PATH.'/storage');
}

Loading…
Cancel
Save