ThinkPHP V5 RC3 实现不同主题时错误 求助

浏览:935 发布日期:2016/05/12 分类:求助交流 关键字: 主题,动态切换
    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

这个了 请问如何解决
最佳答案
评论() 相关
后面还有条评论,点击查看>>