]> git.mjollnir.org Git - moodle.git/commitdiff
Now $CFG->apachemaxmem is respected.
authorstronk7 <stronk7>
Sat, 7 Apr 2007 16:08:51 +0000 (16:08 +0000)
committerstronk7 <stronk7>
Sat, 7 Apr 2007 16:08:51 +0000 (16:08 +0000)
Merged from MOODLE_18_STABLE

lib/moodlelib.php

index b015cd8d6870a72d0ead4ed00868362b5d6d9eb0..08196465d3971454833ebfc3a5ea732654cf91ea 100644 (file)
@@ -6511,6 +6511,8 @@ function fullclone($thing) {
  */
 function moodle_request_shutdown() {
 
+    global $CFG;
+
     // initially, we are only ever called under apache 
     // but check just in case 
     if (function_exists('apache_child_terminate') && function_exists('memory_get_usage')) {