protected function _initialize(){
// 判断是否是手机访问
if(is_mobile()){
$them['template']['view_path']='mobile';
}else{
$them['template']['view_path']='default';
}
Config($them);
}我使用这个代码分离 手机和 电脑版的主题但是执行的时候 这个配置没生效
他还是去找
template file not exists://wwwroot/FreeShop/public/../application/index/view/index/index.html
这个了 请问如何解决
最佳答案