Merge branch 'bugfix/liwenrui/clientdownload2' into 'master'

* tune memory limit, client zips sometimes take more than 512M. needs refactor later.

See merge request easycorp/zentaopms!4588
This commit is contained in:
王怡栋
2022-07-18 00:28:37 +00:00
@@ -102,7 +102,7 @@ class myMisc extends misc
if($action == 'downloadPackage')
{
ini_set('memory_limit', '512M');
ini_set('memory_limit', '1G');
$account = $this->app->user->account;
$clientDir = $this->app->wwwRoot . 'data/client/' . "$account/";