Now $CFG->apachemaxmem is respected.

Merged from MOODLE_17_STABLE
This commit is contained in:
stronk7 2007-04-07 16:07:32 +00:00
parent 69a30a1c2f
commit 4abc65705c

View file

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