[eluser]xzela[/eluser]
Actually, I have an interesting update regarding this issue.
If I change the location of the
header.php file from:
Code:
./system/application/views/_global/
to:
Code:
./system/application/views/
and update the
main_view.php file to reflect the changes:
Code:
<?php
...
$this->load->view('header');
...
?>
it actually works!
In addition to this, changing the $this->load->view from:
Code:
$this->load->view('_global/header');
to:
Code:
include '_global/header.php';
will also work.
So my question now is: Why wont the $this->load->view('_global/header') load when it's within a sub-folder in this particular case? Am I not specifying a top level directory or something?
Let me know what you guys think,
Thanks for the help so far.