projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
066567e
)
If possible, increase the memory limit at run-time. doh!
author
moodler
<moodler>
Mon, 16 Aug 2004 07:26:19 +0000
(07:26 +0000)
committer
moodler
<moodler>
Mon, 16 Aug 2004 07:26:19 +0000
(07:26 +0000)
Not many servers have this compiled into PHP though.
lib/setup.php
patch
|
blob
|
history
diff --git
a/lib/setup.php
b/lib/setup.php
index c5d36c90dd60f0f20919c1ff9f6e9fd7e0902c40..82866b56036696bb43d7ebb7d629e2cbe23d0593 100644
(file)
--- a/
lib/setup.php
+++ b/
lib/setup.php
@@
-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