summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-05-16 14:01:53 +0200
committerErich Eckner <git@eckner.net>2023-05-16 14:35:19 +0200
commit4bc3bc10d166cbb7a25abc00b2960114716ed167 (patch)
treeb077cc871af27a52ac6b8b5d6641eb64ac3b1231 /index.php
parent05f1fcf84321d766dce8e1d9490a01218a128094 (diff)
downloadmocp-web-4bc3bc10d166cbb7a25abc00b2960114716ed167.tar.xz
identify client by port, also
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 389701f..e542321 100644
--- a/index.php
+++ b/index.php
@@ -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() {