git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add padding fix to edit page
[phorkie.git]
/
www
/
display.php
diff --git
a/www/display.php
b/www/display.php
index 2376d30b58416ec5112c108539161eb7ac4cc5a1..ae29b8788ee967a3995d99a0919b775648897346 100644
(file)
--- a/
www/display.php
+++ b/
www/display.php
@@
-3,10
+3,8
@@
namespace phorkie;
/**
* Display paste contents
*/
/**
* Display paste contents
*/
+$reqWritePermissions = false;
require_once 'www-header.php';
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();
@@
-16,6
+14,7
@@
render(
array(
'repo' => $repo,
'dh' => new \Date_HumanDiff(),
array(
'repo' => $repo,
'dh' => new \Date_HumanDiff(),
+ 'htmlhelper' => new HtmlHelper(),
)
);
?>
)
);
?>