mirror of
https://github.com/jakejarvis/spoons.git
synced 2026-10-01 20:25:40 -04:00
fix add page CSS & login/logout redirect
This commit is contained in:
1 parent
bb9cedaf49
commit
bb0a4f7d1b
3 files changed
+8
-2
No files matched your search
+2
-1
@@ -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