X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/f9ade082ba49cf487af31339afa7aeeb0653af57..1797cbc2b010552b54e9d070820fa9cbc9ce3af9:/www/fork.php diff --git a/www/fork.php b/www/fork.php index 64dceb9..6c96a6a 100644 --- a/www/fork.php +++ b/www/fork.php @@ -3,10 +3,8 @@ * Fork a repository */ namespace phorkie; +$reqWritePermissions = true; require_once 'www-header.php'; -if ($GLOBALS['phorkie']['auth']['secure'] > 0) { - include_once 'secure.php'; -} if ($_SERVER['REQUEST_METHOD'] !== 'POST') { throw new Exception_Input('Forking only possible via POST');