If possible, increase the memory limit at run-time. doh!
Not many servers have this compiled into PHP though.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user