If possible, increase the memory limit at run-time. doh!

Not many servers have this compiled into PHP though.
This commit is contained in:
moodler
2004-08-16 07:26:19 +00:00
parent 066567e60c
commit 22d42bf0ce
+3
View File
@@ -73,6 +73,9 @@
require_once("$CFG->libdir/moodlelib.php"); // Other general-purpose functions
/// Increase memory limits if possible
@ini_set('memory_limit' , '16M');
/// Load up any configuration from the config table