报错:非法操作index

来源:互联网 发布:mysql函数返回多个值 编辑:程序博客网 时间:2024/06/07 05:20

这里写图片描述

解决方法:在Application/Home/Index/Controller/IndexController.class.php 配置文件中加入方法,如下:

public function index(){    $this->assign('ROOT',$this->ROOT);    $this->display();}
0 0