PMCORE-1323 Remove the possibility of change the memory_limit

This commit is contained in:
Roly Rudy Gutierrez Pinto
2020-05-25 17:11:23 -04:00
parent 283794ca23
commit af115eeee4
19 changed files with 5 additions and 62 deletions

View File

@@ -1111,12 +1111,6 @@ class Phing {
ini_set('default_charset', 'iso-8859-1');
ini_set('register_globals', 'off');
ini_set('allow_call_time_pass_reference', 'on');
// should return memory limit in MB
$mem_limit = (int) ini_get('memory_limit');
if ($mem_limit < 32) {
ini_set('memory_limit', '32M'); // nore: this may need to be higher for many projects
}
}
/**