Implement node flags
This commit is contained in:
@@ -12,7 +12,9 @@ session_start();
|
||||
|
||||
// check for user_id, if unnkown, redirect to login
|
||||
if (empty($_SESSION['suser_id'])) {
|
||||
$_SESSION['prelogin'] = $_SERVER['REQUEST_URI'];
|
||||
if (isset($_SERVER['REQUEST_URI'])) {
|
||||
$_SESSION['prelogin'] = $_SERVER['REQUEST_URI'];
|
||||
}
|
||||
header("Location: login.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user