Permalink
Browse files

MDL-13204 execution time - give extra time to checker because they ca…

…n run looong; backported from HEAD
  • Loading branch information...
1 parent 29dc93d commit 82d93b8766a1cd7b758fa1e4ed5bdb3bfa676030 stronk7 committed May 30, 2009
@@ -208,6 +208,10 @@ function invoke() {
$o.=' </ul>';
}
$o.=' </li>';
+ /// Give the script some more time (resetting to current if exists)
+ if ($currenttl = @ini_get('max_execution_time')) {
+ @ini_set('max_execution_time',$currenttl);
+ }
}
$o.=' </ul>';
}
@@ -213,6 +213,10 @@ function invoke() {
$o.=' </ul>';
}
$o.=' </li>';
+ /// Give the script some more time (resetting to current if exists)
+ if ($currenttl = @ini_get('max_execution_time')) {
+ @ini_set('max_execution_time',$currenttl);
+ }
}
$o.=' </ul>';
}

0 comments on commit 82d93b8

Please sign in to comment.