Initial version, with no update possibility
This commit is contained in:
9
check_user.php
Normal file
9
check_user.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
require 'config.php';
|
||||
include_once 'class.db.php';
|
||||
|
||||
if (!array_key_exists('loginuser', $_SESSION) || !pwsdbh($dbDSN)->userExists($_SESSION['loginuser']))
|
||||
{
|
||||
header('Location: login.php');
|
||||
exit;
|
||||
}
|
Reference in New Issue
Block a user