summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ddce384)
Only existing files can be writable. Otherwise parent directory should be
checked (recursively), but just assume unrestricted permissions for now.
else {
$editpage .= '.html';
}
else {
$editpage .= '.html';
}
- if (is_writable($editpage)) {
+ if (!file_exists($editpage) or is_writable($editpage)) {
print ' <a href="#edit">Wijzig</a>';
}
}
print ' <a href="#edit">Wijzig</a>';
}
}