edit gitignore and add extend, head.sub.php edit
This commit is contained in:
4
web/html/extend/clientip.extend.php
Normal file
4
web/html/extend/clientip.extend.php
Normal file
@ -0,0 +1,4 @@
|
||||
<?php
|
||||
if (isset($_SERVER["HTTP_CF_CONNECTING_IP"])) {
|
||||
$_SERVER['REMOTE_ADDR'] = $_SERVER["HTTP_CF_CONNECTING_IP"];
|
||||
}
|
||||
Reference in New Issue
Block a user