2.1.3版本中为什么运行时会自动生成一个Index.php文件?
我在controllers文件夹中新建home/index.php,在views文件夹中新建home/Index/index.php,我的控制器index.php中类为class Index extends CI_Controller,但为什么运行时会在controllers/home/中自动生成一个Index.php,并class Index extends CI_Controller的代码保存在Index.php中,而index.php却为空?导致运行错误。。。。。。。。。。后来我把控制器的index.php改为其他名.php,并把其类class Index改为class 其他名,这样就没有事。。。运行正确。。。提醒:我的开发环境是CENTOS CI 肯定不会自动生成文件,检查下是不是其他程序生成的。
页:
[1]