aboutsummaryrefslogtreecommitdiff
path: root/www/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/edit.php')
-rw-r--r--www/edit.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/edit.php b/www/edit.php
index f83dfb3..4de3d47 100644
--- a/www/edit.php
+++ b/www/edit.php
@@ -3,8 +3,9 @@ namespace phorkie;
/**
* Edit paste contents
*/
-$secureAtLevel = '1';
+$reqWritePermissions = true;
require_once 'www-header.php';
+
$repo = new Repository();
$repo->loadFromRequest();