Implement node flags

This commit is contained in:
2023-03-07 14:56:32 +01:00
parent 78b97c5094
commit bfbdc16036
15 changed files with 200 additions and 38 deletions

View File

@@ -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;
}