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
This commit is contained in:
Andreas Gohr 2008-04-09 20:16:15 +02:00
parent 694edecda8
commit 6deb5405c9
1 changed files with 3 additions and 0 deletions

View File

@ -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') &&