diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-03-20 03:39:44 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-03-20 03:39:44 +1100 |
| commit | 58baab6a6e011bd72f16257b833cf204a9794e71 (patch) | |
| tree | fa2972f94eeece0bd5b568e7a7dfd559bedb6456 /mod.php | |
| parent | 9c62a4d2be83dbe990a073b09897e4b09fe45847 (diff) | |
issue #41
Diffstat (limited to 'mod.php')
| -rw-r--r-- | mod.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -344,7 +344,7 @@ continue; // don't override config // are we able to write here? - if(!((file_exists($filename) && is_writable($filename)) || (!file_exists($filename) && is_writable($dirname)))) { + if(!((file_exists($filename) && is_writable($filename)) || (!file_exists($filename) && is_writable(dirname($filename))))) { // nope $errors[] = 'Cannot write to ' . $filename . '!'; } |
