diff options
author | Erich Eckner <git@eckner.net> | 2023-05-16 14:01:53 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2023-05-16 14:35:19 +0200 |
commit | 4bc3bc10d166cbb7a25abc00b2960114716ed167 (patch) | |
tree | b077cc871af27a52ac6b8b5d6641eb64ac3b1231 /index.php | |
parent | 05f1fcf84321d766dce8e1d9490a01218a128094 (diff) | |
download | mocp-web-4bc3bc10d166cbb7a25abc00b2960114716ed167.tar.xz |
identify client by port, also
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ $privKey = "f1869e6cb93500215f5e1ef1fe552dbc76d036088b56c45b1bc32c54211f1c88f442 $pubKey = "f4429e138684b0c1a270fd71d3808d77771e0dbb90a0318eaf27d3747cd57f04"; function client_identifier() { - return $_SERVER['SERVER_ADDR'] . " " . $_SERVER['REMOTE_ADDR']; + return $_SERVER['SERVER_ADDR'] . " " . $_SERVER['REMOTE_ADDR'] . " " . $_SERVER['REMOTE_PORT']; } function zugriff_erlaubt() { |