HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/spire.komma-mediadesign.nl/wwwroot/check_x2.php
<?php
/**
 * check_x2.php
 * Created by Komma Mediadesign.
 * Author: mike
 * Date: 24/01/14
 */

//define('X2',0);

// Check for x2

if(strpos($_SERVER['SERVER_NAME'],'x2') !== false)
{
    define('X2',1);
    include $_SERVER['DOCUMENT_ROOT'] . '/lib/x2_old_links.php';
}
else
{
    define('X2',0);
}

//$ips = array('212.61.130.133','188.204.215.70'); // Komma & Spire
/*
$ips = array('212.61.130.133'); // Komma

if(in_array($_SERVER['REMOTE_ADDR'],$ips))
{
    define('X2',1);
    include $_SERVER['DOCUMENT_ROOT'] . '/lib/x2_old_links.php';
}
else
{
    define('X2',0);
}*/