git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
login: replace page editability var by admin status
[minimedit.git]
/
edit.php
diff --git
a/edit.php
b/edit.php
index 9532e423e202291aa469397567f4a3246b90cc05..3774bfc51407bf441ed055b8ffcbd7342a129887 100755
(executable)
--- a/
edit.php
+++ b/
edit.php
@@
-6,7
+6,7
@@
function abort($status, $body) {
}
require 'auth.inc.php';
-if (!$
editable
)
+if (!$
Admin
)
abort('401 unauthorised', "geen beheersrechten");
if (!$_POST)