mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
修正一处配置参数名称
This commit is contained in:
@@ -134,7 +134,7 @@ class Url
|
|||||||
$domain = $host . (strpos($host, '.') ? '' : strstr($_SERVER['HTTP_HOST'], '.'));
|
$domain = $host . (strpos($host, '.') ? '' : strstr($_SERVER['HTTP_HOST'], '.'));
|
||||||
} elseif (true === $domain) {
|
} elseif (true === $domain) {
|
||||||
$domain = $_SERVER['HTTP_HOST'];
|
$domain = $_SERVER['HTTP_HOST'];
|
||||||
if (Config::get('url_domain_deplay')) {
|
if (Config::get('url_domain_deploy')) {
|
||||||
// 开启子域名部署
|
// 开启子域名部署
|
||||||
$domain = 'localhost' == $domain ? 'localhost' : 'www' . strstr($_SERVER['HTTP_HOST'], '.');
|
$domain = 'localhost' == $domain ? 'localhost' : 'www' . strstr($_SERVER['HTTP_HOST'], '.');
|
||||||
// '子域名'=>array('项目[/分组]');
|
// '子域名'=>array('项目[/分组]');
|
||||||
|
|||||||
Reference in New Issue
Block a user