From: skodak Date: Sun, 15 Apr 2007 14:44:28 +0000 (+0000) Subject: MDL-9363 update memory limit checks and docs - grrr, removed debug code X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1a639adc8814c8dcdb69a46e5477bada90b22657;p=moodle.git MDL-9363 update memory limit checks and docs - grrr, removed debug code --- diff --git a/install.php b/install.php index adeedec3d3..d46057706a 100644 --- a/install.php +++ b/install.php @@ -1024,7 +1024,7 @@ function check_memory_limit() { if ((int)str_replace('M', '', get_memory_limit()) >= 40) { return true; } -return false; + /// Otherwise, see if we can change it ourselves @ini_set('memory_limit', '40M'); return ((int)str_replace('M', '', get_memory_limit()) >= 40);