xhtml compatibility in single file embed mode
[phorkie.git] / www / forbidden.php
index e8fb7ec685b9c2dd5b8734152a4fce0f41f65001..f55c4badbdc04d0c1f96574fb93cc036e83c98a5 100644 (file)
@@ -1,11 +1,15 @@
 <?php
+namespace phorkie;
 /**
- * Access Denied
+ * Show an access denied error
  */
-namespace phorkie;
-require_once 'www-header.php';
+
+header('HTTP/1.0 403 Forbidden');
 render(
     'forbidden',
-    null
+    array(
+        'identity' => isset($_SESSION['identity']) ? $_SESSION['identity'] : null
+    )
 );
+exit();
 ?>