]> git.pld-linux.org Git - packages/dokuwiki.git/blob - dokuwiki-config-allow-require.patch
- export to pdf also for dw2pdf plugin
[packages/dokuwiki.git] / dokuwiki-config-allow-require.patch
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
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.072831 seconds and 3 git commands to generate.