]> git.pld-linux.org Git - packages/dokuwiki.git/blob - install.patch
- up to 2012-07-08 snap
[packages/dokuwiki.git] / install.patch
1 --- dokuwiki-2009-02-14/install.php~    2009-11-10 07:54:33.847106003 +0200
2 +++ dokuwiki-2009-02-14/install.php     2009-11-10 07:54:11.370025985 +0200
3 @@ -373,7 +373,7 @@
4  
5      // configs shouldn't exist
6      foreach ($config_files as $file) {
7 -        if (@file_exists($file)) {
8 +        if (@file_exists($file) && filesize($file)) {
9              $file    = str_replace($_SERVER['DOCUMENT_ROOT'],'{DOCUMENT_ROOT}/', $file);
10              $error[] = sprintf($lang['i_confexists'],$file);
11              $ok      = false;
This page took 0.02593 seconds and 3 git commands to generate.