X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/97c4ac59eed8b66b2e7f85d8ac325b063fb8a0ce..f662a50e02abe50321766c84a23b977a455d401c:/www/fork.php diff --git a/www/fork.php b/www/fork.php index cc2ed33..3d1c4b7 100644 --- a/www/fork.php +++ b/www/fork.php @@ -4,9 +4,6 @@ */ 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'); @@ -33,4 +30,4 @@ foreach (\glob($new->gitDir . '/hooks/*') as $hookfile) { //FIXME: where to put fork source link? redirect($new->getLink('display')); -?> \ No newline at end of file +?>