www/forbidden.php - FIX: added variables for sidebar search
authorJustin J. Novack <jnovack@gmail.com>
Sun, 16 Sep 2012 15:41:58 +0000 (11:41 -0400)
committerJustin J. Novack <jnovack@gmail.com>
Sun, 16 Sep 2012 15:41:58 +0000 (11:41 -0400)
www/forbidden.php

index e8fb7ec..1f587a2 100644 (file)
@@ -4,8 +4,12 @@
  */
 namespace phorkie;
 require_once 'www-header.php';
+
+$db = new Database();
 render(
     'forbidden',
-    null
+    array(
+        'recents'     => $db->getSearch()->listAll(0, 5, 'crdate', 'desc'),
+    )
 );
 ?>