aboutsummaryrefslogtreecommitdiff
path: root/www/fork.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/fork.php')
-rw-r--r--www/fork.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/fork.php b/www/fork.php
index 7997632..cc2ed33 100644
--- a/www/fork.php
+++ b/www/fork.php
@@ -4,6 +4,9 @@
*/
namespace phorkie;
require_once 'www-header.php';
+if ($GLOBALS['phorkie']['auth']['secure'] > 0) {
+ require_once 'secure.php';
+}
if ($_SERVER['REQUEST_METHOD'] !== 'POST') {
throw new Exception_Input('Forking only possible via POST');