CodeIgniter PHP Fatal error: Class 'Controller' not found

出现错误原因:

原代码:

<?php
class Blog extends Controller {
 
function index(){
 
echo "Hello~!";
 
}
}
?>
 
修改为:
<?php
class Blog extends CI_Controller {
 
function index(){
 
echo "Hello~!";
 
}
}
?>
 





你可能感兴趣的:(CodeIgniter PHP Fatal error: Class 'Controller' not found)