get rid of openid config file
[phorkie.git] / www / edit.php
index 9acc1d69fe12d992927136e0ef63df18b2567fb3..897aada2b36bf67a2478f4440a91451bf88a107a 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-namespace Phorkie;
+namespace phorkie;
 /**
  * Edit paste contents
  */
@@ -9,7 +9,7 @@ $repo = new Repository();
 $repo->loadFromRequest();
 
 $repopo = new Repository_Post($repo);
-if ($repopo->process($_POST)) {
+if ($repopo->process($_POST, $_SESSION)) {
     redirect($repo->getLink('display'));
 }
 
@@ -17,6 +17,7 @@ render(
     'edit',
     array(
         'repo' => $repo,
+        'htmlhelper' => new HtmlHelper(),
     )
 );
 ?>