mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update common.php
This commit is contained in:
parent
404cdba67a
commit
611f63da71
@ -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'];
|
||||||
|
Loading…
Reference in New Issue
Block a user