X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/a73791f16d10ea0e2c477f29d9049d75516aa774..13989a4e7cb4453225762dab6b5e5a7565b43df8:/www/new.php diff --git a/www/new.php b/www/new.php index fc6d5f3..0675b4d 100644 --- a/www/new.php +++ b/www/new.php @@ -12,11 +12,11 @@ namespace phorkie; */ require_once 'www-header.php'; if ($GLOBALS['phorkie']['auth']['secure'] > 0) { - require_once 'secure.php'; + include_once 'secure.php'; } $repopo = new Repository_Post(); -if ($repopo->process($_POST)) { +if ($repopo->process($_POST, $_SESSION)) { redirect($repopo->repo->getLink('display')); }