bieer_0001
2015-12-13 00:03
按照视频的代码写程序,在运行时老是出现testModel类
Fatal error: Class 'testModel' not found in E:\Wampwww\MVC\lib\controlle\testControlle.class.php on line 6
找不到,但是如果在testControlle.class.php里面加入
require_once '/lib/model/'.$name.'Model.class.php';
require_once '/lib/view/'.$name.'Viem.class.php';
就可以正常运行,这是什么问题呢?
我也出现了此类问题,修改show()方法?
已解决,原来没有修改testControlle.class.php里面的方法
MVC架构模式分析与设计
82434 学习 · 954 问题
相似问题