I get this error when I request a controller that inherits Auth_controller:
Quote:A PHP Error was encountered
Severity: Notice
Message: Undefined property: Test::$data
Filename: libraries/MY_Controller.php
Line Number: 31
Line 31 is in here:
Code:
class Auth_Controller extends Public_Controller {
function Auth_Controller() {
]if ($this->data->user === FALSE) {
// The user is not logged in, send them to the homepage
redirect('');
}
}
}