mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 10:56:26 +00:00
Empty commit
This commit is contained in:
parent
3201b28b2f
commit
373706ebae
@ -132,7 +132,7 @@ function local_url($Str) {
|
||||
$Host = $URLInfo['host'];
|
||||
// If for some reason your site does not require subdomains or contains a directory in the SITE_URL, revert to the line below.
|
||||
//if($Host == NONSSL_SITE_URL || $Host == SSL_SITE_URL || $Host == 'www.'.NONSSL_SITE_URL) {
|
||||
if(preg_match('/(\S+\.)*'.NONSSL_SITE_URL.'/', $Host)) {
|
||||
if(empty($URLInfo['port']) && preg_match('/(\S+\.)*'.NONSSL_SITE_URL.'/', $Host)) {
|
||||
$URL = $URLInfo['path'];
|
||||
if(!empty($URLInfo['query'])) {
|
||||
$URL.='?'.$URLInfo['query'];
|
||||
|
Loading…
Reference in New Issue
Block a user