From 244714c28a2ab7457db966ebd118161a00db5e71 Mon Sep 17 00:00:00 2001 From: skodak Date: Tue, 27 Jan 2009 15:06:40 +0000 Subject: [PATCH] MDL-18055 adding timeout protection to security report; merged from MOODLE_19_STABLE --- admin/report/security/index.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/admin/report/security/index.php b/admin/report/security/index.php index 9dc838b66e..b0de42d2f9 100644 --- a/admin/report/security/index.php +++ b/admin/report/security/index.php @@ -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(); -- 2.39.5