mirror of
https://github.com/jakejarvis/spoons.git
synced 2025-06-29 07:55:40 -04:00
fix add page CSS & login/logout redirect
This commit is contained in:
@ -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');
|
||||
?>
|
||||
|
Reference in New Issue
Block a user