1
mirror of https://github.com/jakejarvis/spoons.git synced 2025-04-26 13:28:27 -04:00

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

This commit is contained in:
Jake Jarvis 2013-05-19 16:25:13 -04:00
parent 0f3d8f7b4c
commit 4c4207b776

View File

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