升级 v1.0.12 路由不起作用了
yuanzhihai opened this issue · 2 comments
yuanzhihai commented
升级 v1.0.12 路由不起作用了
退回 v1.0.11 没问题
yuanzhihai commented
v1.0.11
if (is_dir($this->app->getAppPath() . 'route')) {
return $this->app->getAppPath() . 'route' . DIRECTORY_SEPARATOR;
}
return $this->app->getRootPath() . 'route' . DIRECTORY_SEPARATOR . $this->appName . DIRECTORY_SEPARATOR;
v1.0.12
return $this->app->getAppPath() . 'route' . DIRECTORY_SEPARATOR;
只支持当前应用目录下的route文件 不支持 route 目录了
liu21st commented
对的 统一了配置和路由定义文件的位置