为什MY_controller会说没发现
SCREAM: Error suppression ignored for( ! ) Fatal error: Class 'MY_Controller' not found in E:\study\the internet technology\sql\wamp\www\mydesign\application\controllers\index.php on line
我的librarry中是有MY_Controller.php的<?php
class MY_Controller extends CI_Controller{
function __construct(){
parent::__construct();
}
}
?>
<?php
class Index extends MY_Controller{
function__construct(){
parent::__construct();
}
function index(){
$this->load->view('index');
}
}
?>
这个核心类,不是库文件,放错地方了 MY_Controller.php 要放在 application\core 文件夹下 ^淡如清风 发表于 2015-2-9 12:05
MY_Controller.php 要放在 application\core 文件夹下
这样啊!太感谢了
zh7314 发表于 2015-2-9 11:20
这个核心类,不是库文件,放错地方了
了解了!谢谢
页:
[1]