PMCORE-1323 Remove the possibility of change the memory_limit
This commit is contained in:
6
thirdparty/phing/Phing.php
vendored
6
thirdparty/phing/Phing.php
vendored
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user