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, 3 insertions, 0 deletions
diff --git a/www/edit.php b/www/edit.php
index 562c97c..226b774 100644
--- a/www/edit.php
+++ b/www/edit.php
@@ -4,6 +4,9 @@ namespace phorkie;
* Edit paste contents
*/
require_once 'www-header.php';
+if ($GLOBALS['phorkie']['auth']['secure'] > 0) {
+ require_once 'secure.php';
+}
$repo = new Repository();
$repo->loadFromRequest();