diff options
author | Andreas Gohr <andi@splitbrain.org> | 2008-04-09 20:16:15 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2008-04-09 20:16:15 +0200 |
commit | 6deb5405c94e1622dcf3ff1548c4d98fe6decda5 (patch) | |
tree | 15dc6520861bed7710598b7c033e27b4e89cb66f | |
parent | 694edecda81a3cdf5e98bccfbde9fdfad85c223f (diff) | |
download | rpg-6deb5405c94e1622dcf3ff1548c4d98fe6decda5.tar.gz rpg-6deb5405c94e1622dcf3ff1548c4d98fe6decda5.tar.bz2 |
try to increase the PCRE backtrack limit
This should avoid problems with larger pages on newer PHP versions.
See http://www.freelists.org/archives/dokuwiki/04-2008/msg00049.html
darcs-hash:20080409181615-7ad00-de4f7a0602692b28e048d215c2e2b9657f96b81c.gz
-rw-r--r-- | inc/init.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/init.php b/inc/init.php index d730ca76c..9563af296 100644 --- a/inc/init.php +++ b/inc/init.php @@ -90,6 +90,9 @@ // make sure global zlib does not interfere FS#1132 @ini_set('zlib.output_compression', 'off'); + // increase PCRE backtrack limit + @ini_set('pcre.backtrack_limit', '20971520'); + // enable gzip compression if ($conf['gzip_output'] && !defined('DOKU_DISABLE_GZIP_OUTPUT') && |