git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIX: Revamped security measures
[phorkie.git]
/
www
/
fork.php
diff --git
a/www/fork.php
b/www/fork.php
index 799763273667ec8388b1f94e70ab3688c9af60f9..2832fe4e60fa32c1d5c1f2f85f06e3c91cb4e858 100644
(file)
--- a/
www/fork.php
+++ b/
www/fork.php
@@
-3,6
+3,7
@@
* Fork a repository
*/
namespace phorkie;
* Fork a repository
*/
namespace phorkie;
+$pageRequiresLogin = '1';
require_once 'www-header.php';
if ($_SERVER['REQUEST_METHOD'] !== 'POST') {
require_once 'www-header.php';
if ($_SERVER['REQUEST_METHOD'] !== 'POST') {
@@
-30,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
+?>