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 perl to the list of geshi types
[phorkie.git]
/
www
/
index.php
diff --git
a/www/index.php
b/www/index.php
index 898c443a72309ce53097286fc1a74f845855e280..54b1e3aa692795e57a0b789fad959f8e91201648 100644
(file)
--- a/
www/index.php
+++ b/
www/index.php
@@
-1,5
+1,5
@@
<?php
<?php
-namespace
P
horkie;
+namespace
p
horkie;
/**
* Show paste creation form
*
/**
* Show paste creation form
*
@@
-20,12
+20,15
@@
if ($repopo->process($_POST)) {
$phork = array(
'1' => new File(null, null)
);
$phork = array(
'1' => new File(null, null)
);
+$db = new Database();
render(
'index',
array(
render(
'index',
array(
- 'files' => $phork,
+ 'files'
=> $phork,
'description' => '',
'description' => '',
- 'htmlhelper' => new HtmlHelper(),
+ 'htmlhelper' => new HtmlHelper(),
+ 'recents' => $db->getSearch()->listAll(0, 5, 'crdate', 'desc'),
+ 'dh' => new \Date_HumanDiff(),
)
);
?>
)
);
?>