Permalink
Browse files

MDL-11237 raising memory limit for preg_xxxx(), backported from HEAD

  • Loading branch information...
skodak
skodak committed Sep 24, 2007
1 parent 7c84c84 commit 9bcbf6a743b941b5174a1a20bfa75d33442d5b38
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/setup.php
View
@@ -358,6 +358,10 @@
@ini_set('arg_separator.output', '&');
+/// Work around for a PHP bug see MDL-11237
+
+ @ini_set('pcre.backtrack_limit', 20971520); // 20 MB
+
/// Location of standard files
$CFG->wordlist = $CFG->libdir .'/wordlist.txt';

0 comments on commit 9bcbf6a

Please sign in to comment.