Update common.php

This commit is contained in:
Roman Kelesidis 2024-01-19 16:53:20 +07:00
parent 404cdba67a
commit 611f63da71

View File

@ -35,6 +35,7 @@ if (!defined('IN_FORUM') && !defined('IN_TRACKER')) define('IN_FORUM', true);
header('X-Frame-Options: SAMEORIGIN'); header('X-Frame-Options: SAMEORIGIN');
header('X-Powered-By: TorrentPier LTS Forever!'); header('X-Powered-By: TorrentPier LTS Forever!');
date_default_timezone_set('UTC');
// Set remote address // Set remote address
$allowedCDNs = ['HTTP_X_FORWARDED_FOR', 'HTTP_FASTLY_CLIENT_IP', 'HTTP_CF_CONNECTING_IP']; $allowedCDNs = ['HTTP_X_FORWARDED_FOR', 'HTTP_FASTLY_CLIENT_IP', 'HTTP_CF_CONNECTING_IP'];