[eluser]ReyPM[/eluser]
Well something is really wrong here because I tried to load another library and get the same error:
Quote:Severity: Notice
Message: Undefined property: Brands::$load
Filename: controllers/brands.php
Line Number: 5
The file brands.php is as follow:
Code:
<?php
class Brands extends CI_Controller {
public function __construct() {
$this->load->helper('flexigrid');
}
public function index() {
if (!$this->my_usession->logged_in) {
redirect('user/login');
}
$data['title'] = 'Admin Brands';
$this->load->view('brands/index', $data);
}
}
I'm using Code Igniter 2.0.1 in XAMPP for Windows 7