From 1a639adc8814c8dcdb69a46e5477bada90b22657 Mon Sep 17 00:00:00 2001 From: skodak Date: Sun, 15 Apr 2007 14:44:28 +0000 Subject: [PATCH] MDL-9363 update memory limit checks and docs - grrr, removed debug code --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5