FIX: Set REQUEST_URI to go back to page requested before logging in
[phorkie.git] / www / new.php
index 0675b4d3b0d1d8c78edff6b228f895da3d144935..505ca50f4ea04c9dc75a67cb262241fbf2bc94d7 100644 (file)
@@ -10,10 +10,8 @@ namespace phorkie;
  *
  * Creates and redirects to display page
  */
+$pageRequiresLogin = '1';
 require_once 'www-header.php';
-if ($GLOBALS['phorkie']['auth']['secure'] > 0) {
-    include_once 'secure.php';
-}
 
 $repopo = new Repository_Post();
 if ($repopo->process($_POST, $_SESSION)) {