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
/
revision.php
diff --git
a/www/revision.php
b/www/revision.php
index 53ac4581b45b379a4d84e5c57b56b9a5d1689a31..06462afa72f9e6af525241a65e2c4700ce212074 100644
(file)
--- a/
www/revision.php
+++ b/
www/revision.php
@@
-4,6
+4,9
@@
namespace phorkie;
* Display paste contents
*/
require_once 'www-header.php';
* Display paste contents
*/
require_once 'www-header.php';
+if ($GLOBALS['phorkie']['auth']['secure'] == 2) {
+ require_once 'secure.php';
+}
$repo = new Repository();
$repo->loadFromRequest();
$repo = new Repository();
$repo->loadFromRequest();