git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added OpenID Authentication
[phorkie.git]
/
www
/
fork.php
diff --git
a/www/fork.php
b/www/fork.php
index 799763273667ec8388b1f94e70ab3688c9af60f9..cc2ed33c68de4d754162b4f0e4e81630d8cdcf3f 100644
(file)
--- a/
www/fork.php
+++ b/
www/fork.php
@@
-4,6
+4,9
@@
*/
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');