From: Christian Weiske Date: Tue, 18 Sep 2012 21:29:58 +0000 (+0200) Subject: secure.php is not used anymore X-Git-Tag: v0.3.0~42^2~3 X-Git-Url: https://git.cweiske.de/phorkie.git/commitdiff_plain/4dec3c5aa93e77ed29ade646c6db3a9ea39d7896 secure.php is not used anymore --- diff --git a/www/secure.php b/www/secure.php deleted file mode 100644 index 9506614..0000000 --- a/www/secure.php +++ /dev/null @@ -1,26 +0,0 @@ - 0 && - $GLOBALS['phorkie']['auth']['userlist']) { - if (!in_array($_SESSION['identity'], $GLOBALS['phorkie']['users'])) { - header('HTTP/1.1 403 Forbidden'); - $db = new Database(); - render( - 'forbidden', - array( - 'recents' => $db->getSearch()->listAll(0, 5, 'crdate', 'desc'), - ) - ); - exit; - } -} -?>