]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-18055 adding timeout protection to security report; merged from MOODLE_19_STABLE
authorskodak <skodak>
Tue, 27 Jan 2009 15:06:40 +0000 (15:06 +0000)
committerskodak <skodak>
Tue, 27 Jan 2009 15:06:40 +0000 (15:06 +0000)
admin/report/security/index.php

index 9dc838b66e90adcaaf5df9608f35eb9cf7c0b4cc..b0de42d2f9bdc735cb242adbc6a6b58133b7e7c5 100644 (file)
@@ -38,6 +38,10 @@ if (array_search($issue, $issues, true) === false) {
     $issue = '';
 }
 
+// we may need a bit more memory and this may take a long time to process
+@raise_memory_limit('128M');
+@set_time_limit(0);
+
 // Print the header.
 admin_externalpage_setup('reportsecurity');
 admin_externalpage_print_header();