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 e8fb7ec685b9c2dd5b8734152a4fce0f41f65001..1f587a2a10d2e5da5cd16ed15fc347a18af07baf 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'),
+    )
 );
 ?>