模块不存在:50x

浏览:1038 发布日期:2019/05/05 分类:ThinkPHP5专区 关键字: thinkphp
thinkphp 报模块不存在:50x


[0] HttpException in Module.php line 62
模块不存在:50x
$available = true;
}

// 模块初始化
if ($module && $available) {
// 初始化模块
$this->request->setModule($module);
$this->app->init($module);
} else {
throw new HttpException(404, 'module not exists:' . $module);
}
}

// 是否自动转换控制器和操作名
$convert = is_bool($this->convert) ? $this->convert : $this->rule->getConfig('url_convert');
// 获取控制器名

$controller = strip_tags($result[1] ?: $this->rule->getConfig('default_controller'));
$controller = strip_tags($result[1] ?: $this->rule->getConfig('default_controller'));
最佳答案
评论( 相关
后面还有条评论,点击查看>>