X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/7dcd592544ae0b55d0e205ff83631067a0d0aa6b..b8b5759174c0734d6682502b4e1830334dd0df13:/www/edit.php diff --git a/www/edit.php b/www/edit.php index e59bcd1..20e7793 100644 --- a/www/edit.php +++ b/www/edit.php @@ -1,15 +1,18 @@ 0) { + include_once 'secure.php'; +} $repo = new Repository(); $repo->loadFromRequest(); $repopo = new Repository_Post($repo); -if ($repopo->process($_POST)) { +if ($repopo->process($_POST, $_SESSION)) { redirect($repo->getLink('display')); }