fix security flaw -- still prints list after redirect to login page

This commit is contained in:
jake committed 2013-05-19 16:23:56 -04:00
1 parent 1855f77493
commit 0f3d8f7b4c
2 files changed
+4

No files matched your search

+1
View File
@@ -4,6 +4,7 @@ include_once('config.php');
session_start();
if(!isset($_SESSION['logged_in']) || $_SESSION['logged_in'] == FALSE) {
header("Location:" . $site_url . "/login");
die();
}
include_once('functions.php');