tp5后台框架更换成php7.1后提示模块不存在

浏览:1329 发布日期:2018/03/07 分类:求助交流
网上下了2个后台模板,都是用的tp5,在php5.5环境下正常,更换成php7.1后模块不存在。

经检查发现这个ics,是controller/Publics.php,不知为何显示的是ics

[0] HttpException in App.php line 535
模块不存在:ics
$config = self::init($module);

// 模块请求缓存检查
$request->cache(
$config['request_cache'],
$config['request_cache_expire'],
$config['request_cache_except']
);
} else {
throw new HttpException(404, 'module not exists:' . $module);
}
} else {
// 单一模块部署
$module = '';
$request->module($module);
}

// 设置默认过滤机制
$request->filter($config['default_filter']);
最佳答案
评论( 相关
后面还有条评论,点击查看>>