[eluser]Paleleaves[/eluser]
Hi,
I'm checking if the user is not logged in or not in dx_auth library from a different controller. All libraries,helpers are loaded default.
Code:
if ( ! $this->dx_auth->is_logged_in())
{
$data["login_screen"] = $this->load->view("auth/login", "", TRUE); // auth/login ("auth" is a different controller and "login" is a function inside that controller
$this->load->view('notlogin', $data);
}
If not the user will go the login screen
Code:
$data["login_screen"] = $this->load->view("auth/login", "", TRUE);
and echo the $login_screen in "notlogin.php"
But it shows an error
Quote:Unable to load the requested file: auth/login.php
Why it's happening like this... Any idea