mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-04 14:22:48 +08:00
Uses short syntax
This commit is contained in:
@@ -158,7 +158,7 @@ class Url
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$domain = $domain . (strpos($domain, '.') ? '' : strstr($_SERVER['HTTP_HOST'], '.'));
|
||||
$domain .= strpos($domain, '.') ? '' : strstr($_SERVER['HTTP_HOST'], '.');
|
||||
}
|
||||
$domain = (self::isSsl() ? 'https://' : 'http://') . $domain;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user