git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CLEAN: How about changing the rest of the files with your variable? :p
[phorkie.git]
/
www
/
new.php
diff --git
a/www/new.php
b/www/new.php
index fc6d5f38b196b9810e9af438cd5b8ba377e80293..10c5ab3a359413d93a3633842ce9e214f688f32f 100644
(file)
--- a/
www/new.php
+++ b/
www/new.php
@@
-10,13
+10,11
@@
namespace phorkie;
*
* Creates and redirects to display page
*/
*
* Creates and redirects to display page
*/
+$securityLevel = '1';
require_once 'www-header.php';
require_once 'www-header.php';
-if ($GLOBALS['phorkie']['auth']['secure'] > 0) {
- require_once 'secure.php';
-}
$repopo = new Repository_Post();
$repopo = new Repository_Post();
-if ($repopo->process($_POST)) {
+if ($repopo->process($_POST
, $_SESSION
)) {
redirect($repopo->repo->getLink('display'));
}
redirect($repopo->repo->getLink('display'));
}