本帖最后由 keanbin 于 2017-7-18 20:21 编辑
扩展了CI_Model类:
class MY_model extends CI_Model {}
存放在application/core/MY_model.php, Commercial_district_model继承MY_model:
class Commercial_district_model extends MY_model {
}
在本地环境没有问题,在线上环境提示:
Class 'MY_model' not found in /data/www/fanghe_backstage/application/models/Commercial_district_model.php on line 11
环境配置怎么会影响到MY_model类的自动加载呢?
|