]>
Commit | Line | Data |
---|---|---|
bba17ba4 ER |
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; |