mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
#1352 - Better handling of memory limit
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@47824 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
51865bf9d7
commit
40fe857bfb
@ -182,7 +182,6 @@ class InstallRequirements {
|
||||
|
||||
$mem = $this->getPHPMemory();
|
||||
if($mem < (32 * 1024 * 1024)) {
|
||||
$_SESSION['forcemem'] = true;
|
||||
ini_set('memory_limit', '32M');
|
||||
$mem = $this->getPHPMemory();
|
||||
$testDetails[3] = ini_get("memory_limit");
|
||||
@ -591,8 +590,6 @@ SSViewer::set_theme('blackcandy');
|
||||
PHP;
|
||||
}
|
||||
|
||||
$mem = $_SESSION['forcemem'] ? "ini_set('memory_limit', '32M');" : '';
|
||||
|
||||
echo "<li>Creating '$template/_config.php'...</li>";
|
||||
flush();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user