fix add page CSS & login/logout redirect

This commit is contained in:
2013-05-19 16:00:21 -04:00
parent bb9cedaf49
commit bb0a4f7d1b
3 changed files with 8 additions and 2 deletions
+2 -1
View File
@@ -1,10 +1,11 @@
<?php
include_once('config.php');
session_start();
if(!isset($_SESSION['logged_in']) || $_SESSION['logged_in'] == FALSE) {
header("Location:" . $site_url . "/login");
}
include_once('config.php');
include_once('functions.php');
include_once('db_connect.php');
?>