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 6f754d9ec4c01d4ee0e7d4e36996ac6e4c5e49ac..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) {
- include_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(),
)
);
?>
)
);
?>