Showing
1 changed file
with
1 additions
and
1 deletions
@@ -71,7 +71,7 @@ class Bootstrap extends Bootstrap_Abstract | @@ -71,7 +71,7 @@ class Bootstrap extends Bootstrap_Abstract | ||
71 | $controller = 'Index'; | 71 | $controller = 'Index'; |
72 | $action = 'Index'; | 72 | $action = 'Index'; |
73 | // 二级域名 | 73 | // 二级域名 |
74 | - if (3 === $level) { | 74 | + if (2 === $level) { |
75 | $subDomain = strval($hostParts[0]); | 75 | $subDomain = strval($hostParts[0]); |
76 | switch (strtolower($subDomain)) { | 76 | switch (strtolower($subDomain)) { |
77 | case 'www': // 主站 | 77 | case 'www': // 主站 |
-
Please register or login to post a comment