We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 317c90b commit 56210b7Copy full SHA for 56210b7
web/inc/main.php
@@ -20,6 +20,7 @@
20
// Checking user to use session from the same IP he has been logged in
21
if($_SESSION['user_combined_ip'] != $user_combined_ip){
22
session_destroy();
23
+ session_start();
24
$_SESSION['request_uri'] = $_SERVER['REQUEST_URI'];
25
header("Location: /login/");
26
exit;
@@ -28,6 +29,7 @@
28
29
// Check system settings
30
if ((!isset($_SESSION['VERSION'])) && (!defined('NO_AUTH_REQUIRED'))) {
31
32
33
34
35
0 commit comments