git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove session id check, it was not working the way I hoped for
[phorkie.git]
/
www
/
fork.php
diff --git
a/www/fork.php
b/www/fork.php
index cc2ed33c68de4d754162b4f0e4e81630d8cdcf3f..3d1c4b73d1979d2bb8b8e9813d58579b47261715 100644
(file)
--- a/
www/fork.php
+++ b/
www/fork.php
@@
-4,9
+4,6
@@
*/
namespace phorkie;
require_once 'www-header.php';
*/
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');
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'));
//FIXME: where to put fork source link?
redirect($new->getLink('display'));
-?>
\ No newline at end of file
+?>