mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-29 09:44:28 +01:00
issue #41
This commit is contained in:
parent
33116a07a1
commit
3fbe2f10e9
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