This is valid:
<?php
class Blog extends CI_Controller {
}
This is not valid:
<?php
class blog extends CI_Controller {
}
Also, always make sure your controller extends the parent controller class so that it can inherit all its methods.
This is valid:
<?php
class Blog extends CI_Controller {
}
This is not valid:
<?php
class blog extends CI_Controller {
}
Also, always make sure your controller extends the parent controller class so that it can inherit all its methods.