git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update jQuery from 1.12.4 to 3.7.1
[phorkie.git]
/
www
/
new.php
diff --git
a/www/new.php
b/www/new.php
index 8d1a231d1ff9e339f2bc062702c886ea074ddc20..6ec746b421fc8a646ed13583671643acc8fd6885 100644
(file)
--- a/
www/new.php
+++ b/
www/new.php
@@
-10,14
+10,12
@@
namespace phorkie;
*
* Creates and redirects to display page
*/
*
* Creates and redirects to display page
*/
+$reqWritePermissions = true;
require_once 'www-header.php';
require_once 'www-header.php';
-if ($GLOBALS['phorkie']['auth']['secure'] > 0) {
- require_once 'secure.php';
-}
$repopo = new Repository_Post();
if ($repopo->process($_POST, $_SESSION)) {
$repopo = new Repository_Post();
if ($repopo->process($_POST, $_SESSION)) {
- redirect($repopo->repo->getLink('display'));
+ redirect($repopo->repo->getLink('display'
, null, true
));
}
$phork = array(
}
$phork = array(
@@
-30,7
+28,7
@@
render(
'files' => $phork,
'description' => '',
'htmlhelper' => new HtmlHelper(),
'files' => $phork,
'description' => '',
'htmlhelper' => new HtmlHelper(),
- 'recents' => $db->getSearch()->listAll(0, 5, '
cr
date', 'desc'),
+ 'recents' => $db->getSearch()->listAll(0, 5, '
mo
date', 'desc'),
'dh' => new \Date_HumanDiff(),
)
);
'dh' => new \Date_HumanDiff(),
)
);