[eluser]CoolGoose[/eluser]
I was trying to load a view from another view and for some reason it breaks the application.
The controller is:
Code:
class Frontpage extends Controller
{
function __construct()
{
parent::Controller();
}
function index()
{
$this->load->view('partials/header');
$this->load->view('frontpage', $data);
$this->load->view('partials/footer');
}
}
And in the partials/footer file I've tried to load another view
Code:
$this->load->view('partials/login');
Any ideas ?