Hello,
I'm trying to load the model into my controller as follows:
$this->load->model("gerente");
But simply everything after this code does not work, I've already tried loading by passing "Manager" instead of "manager" but the only difference is that in that way appears > "Error 500" .
Here is the Model code I'm trying to call:
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
require_once 'usuario.php';
class Gerente extends Usuario {
public function __construct() {
parent::__construct();
}
}
/* End of file gerente.php */
/* Location: ./application/models/gerente.php */
User is a class that is calling CI_MODEL
.
And I'm already loading the database $this->load->database();