tp5 model()的BUG

浏览:723 发布日期:2017/02/17 分类:ThinkPHP5专区
在一个Controller中使用model('User')方法, 会导致程序中断,只返回
array(0) {
},
继续追踪发现,在Loader::model中392行,
if (class_exists($class)) {
$model = new $class();
}
就会中断,没有异常提醒,只是输出array(0) {
}, 程序无法进行. 请问怎么回事?
最佳答案
评论( 相关
后面还有条评论,点击查看>>