route类改进

This commit is contained in:
thinkphp
2015-12-04 08:48:44 +08:00
parent bd367d3beb
commit 6251b2ccdb
2 changed files with 7 additions and 3 deletions

View File

@@ -228,7 +228,10 @@ class App
// 检测域名部署
if (!IS_CLI && !empty($config['domain_deploy'])) {
Route::checkDomain($config['domain_rules']);
$module = Route::checkDomain($config['domain_rules']);
if (null != $module) {
define('BIND_MODULE', $module);
}
}
// 监听path_info