瀏覽代碼

Fixes possible error when there are a lot of certicates to load.

Julio Montoya 10 年之前
父節點
當前提交
306c7b08d9
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      main/gradebook/gradebook_display_certificate.php

+ 1 - 0
main/gradebook/gradebook_display_certificate.php

@@ -14,6 +14,7 @@ $current_course_tool  = TOOL_GRADEBOOK;
 api_protect_course_script();
 
 set_time_limit(0);
+ini_set('max_execution_time', 0);
 
 require_once 'lib/gradebook_functions.inc.php';
 require_once 'lib/be.inc.php';