Controller filename is Auth.php
class Auth extends MY_Controller {
public function __construct() {
parent::__construct();
//load model
$this->load->model('Auth_model', 'auth');
$this->load->model('Mail', 'mail');
$this->load->library('form_validation');
}
but the following error keep appearing:
An uncaught Exception was encountered Type: Error
Message: Class 'MY_Controller' not found
Filename: C:\xampp\htdocs\codeigniter\application\controllers\Auth.php
Line Number: 16
Backtrace:
File: C:\xampp\htdocs\codeigniter\index.php Line: 315 Function: require_once