6 require_once 'www-header.php';
7 $_SESSION['REQUEST_URI'] = $_SERVER['REQUEST_URI'];
8 if (!isset($_SESSION['identity'])) {
9 header("Location: /login");
12 if ($GLOBALS['phorkie']['auth']['secure'] > 0 &&
13 $GLOBALS['phorkie']['auth']['userlist']) {
14 if (!in_array($_SESSION['identity'], $GLOBALS['phorkie']['users'])) {
15 header('HTTP/1.1 403 Forbidden');
20 'recents' => $db->getSearch()->listAll(0, 5, 'crdate', 'desc'),