REVERT: variable name change
[phorkie.git] / www / fork.php
index cc2ed33c68de4d754162b4f0e4e81630d8cdcf3f..10bd1e201d0dcc91a18612618e0f6bc0c2792ddb 100644 (file)
@@ -3,10 +3,8 @@
  * Fork a repository
  */
 namespace phorkie;
  * Fork a repository
  */
 namespace phorkie;
+$secureAtLevel = '1';
 require_once 'www-header.php';
 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');
 
 if ($_SERVER['REQUEST_METHOD'] !== 'POST') {
     throw new Exception_Input('Forking only possible via POST');
@@ -33,4 +31,4 @@ foreach (\glob($new->gitDir . '/hooks/*') as $hookfile) {
 
 //FIXME: where to put fork source link?
 redirect($new->getLink('display'));
 
 //FIXME: where to put fork source link?
 redirect($new->getLink('display'));
-?>
\ No newline at end of file
+?>