Add files via upload
This commit is contained in:
committed by
GitHub
parent
97df13f3f0
commit
86f32b6327
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
//If User is logged in the session['user_logged_in'] will be set to true
|
||||
|
||||
//if user is Not Logged in, redirect to login.php page.
|
||||
if (!isset($_SESSION['user_logged_in'])) {
|
||||
header('Location:login.php');
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user