H A D | include.php | 25 …$sSite = strtolower(trim(empty($_SERVER['HTTP_HOST']) ? (empty($_SERVER['SERVER_NAME']) ? '' : $_S… variable 26 $sSite = 'www.' === substr($sSite, 0, 4) ? substr($sSite, 4) : $sSite; variable 27 $sSite = preg_replace('/^.+@/', '', preg_replace('/:[\d]+$/', '', $sSite)); variable 28 …$sSite = in_array($sSite, array('localhost', '127.0.0.1', '::1', '::1/128', '0:0:0:0:0:0:0:1')) ? … variable 29 $sSite = 0 === strlen($sSite) ? 'localhost' : $sSite; variable 31 define('APP_SITE', $sSite); 32 unset($sSite);
|