issue #41
This commit is contained in:
parent
9c62a4d2be
commit
58baab6a6e
2
mod.php
2
mod.php
@ -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 . '!';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user