X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/6ce5695197ca6b3137a44d775baff00aaa6e0673..6236e7cb8d0bd38f741d988cc5241a7b37069555:/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'; } }