]> git.pld-linux.org Git - packages/dokuwiki.git/blame - dokuwiki-config-allow-require.patch
- bcmath optional
[packages/dokuwiki.git] / dokuwiki-config-allow-require.patch
CommitLineData
16e7d9b5
ER
1--- dokuwiki/lib/plugins/config/settings/config.class.php 2007-06-26 21:27:15.000000000 +0300
2+++ dokuwiki/lib/plugins/config/settings/config.class.php 2007-11-20 01:42:59.722673768 +0200
ea693473
ER
3@@ -138,7 +138,7 @@
4 }else{
5 $contents = '';
6 }
7- $pattern = '/\$'.$this->_name.'\[[\'"]([^=]+)[\'"]\] ?= ?(.*?);(?=[^;]*(?:\$'.$this->_name.'|@include|$))/s';
8+ $pattern = '/\$'.$this->_name.'\[[\'"]([^=]+)[\'"]\] ?= ?(.*?);(?=[^;]*(?:\$'.$this->_name.'|@?(?:require|include)(?:_once)?|$))/s';
9 $matches=array();
10 preg_match_all($pattern,$contents,$matches,PREG_SET_ORDER);
11
This page took 0.34138 seconds and 4 git commands to generate.