diff options
| author | Simon Rettberg | 2026-06-29 15:46:58 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2026-06-29 15:46:58 +0200 |
| commit | a98abd58353337ed9485a951556d904eb1988aa7 (patch) | |
| tree | bb28fcd065f33fdb9c1726b81da5ed1ce1aa28eb | |
| parent | [remoteaccess/serversetup] Make sure we default to bwlp in exam mode (diff) | |
| download | slx-admin-master.tar.gz slx-admin-master.tar.xz slx-admin-master.zip | |
| -rw-r--r-- | inc/session.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/session.inc.php b/inc/session.inc.php index 4c6eb4e2..2344381b 100644 --- a/inc/session.inc.php +++ b/inc/session.inc.php @@ -169,8 +169,8 @@ class Session if (!$ret) ErrorHandler::traceError('Error: Could not set Cookie for Client (headers already sent)'); } + self::$clientIp = IpUtil::getClientIp(); register_shutdown_function(function () { - self::$clientIp = IpUtil::getClientIp(); self::saveOnShutdown(); }); } |
