mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 09:27:25 +00:00
Never affect REMOTE_ADDR with HTTP_X_FORWARDED_FOR
This commit is contained in:
parent
d9b97ee3bc
commit
fd77e477b0
1 changed files with 0 additions and 3 deletions
|
@ -6,9 +6,6 @@ require_once('serverconfig.php');
|
|||
require_once('yaamp/defaultconfig.php');
|
||||
require_once('yaamp/ui/app.php');
|
||||
|
||||
if(isset($_SERVER['HTTP_X_FORWARDED_FOR']))
|
||||
$_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_X_FORWARDED_FOR'];
|
||||
|
||||
//$_SERVER['PATH_INFO'] = $_SERVER['REQUEST_URI'];
|
||||
|
||||
// blacklist some search bots which ignore robots.txt (most in fact)
|
||||
|
|
Loading…
Add table
Reference in a new issue