move getIP function to its own module

This commit is contained in:
Mystikfluu
2022-07-31 11:49:11 +02:00
parent 47654513ba
commit 76f1522bf6
4 changed files with 17 additions and 13 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
{
"allow_getotheruser_without_cookie": true,
"preferred_ip_header": "X-REAL-IP",
"only_prefer_when_ip": "::ffff:192.168.0.1",
"preferred_ip_header": "x-real-ip",
"only_prefer_when_ip": "::ffff:127.0.0.1",
"mysql": {
"connections":1000,
"host":"localhost",