mirror of
https://github.com/Circlepuller/Tinyboard.git
synced 2025-01-17 21:39:27 +01:00
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…
x
Reference in New Issue
Block a user