X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/6ce5695197ca6b3137a44d775baff00aaa6e0673..fe92ec8f17c832c4a663aea399dc90a4c09ce6b1:/page.inc.php diff --git a/page.inc.php b/page.inc.php index 54a3944..333a705 100644 --- a/page.inc.php +++ b/page.inc.php @@ -20,7 +20,7 @@ if (!empty($User)) { else { $editpage .= '.html'; } - if (is_writable($editpage)) { + if (!file_exists($editpage) or is_writable($editpage)) { print ' Wijzig'; } }