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