Visual improvements
This commit is contained in:
6
var/www/loginRequired.php
Normal file
6
var/www/loginRequired.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
// If session has expired, or the user has not logged in
|
||||
if(!isset($_SESSION['loggedInUser'])){
|
||||
header('Location: /login.php');
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user