Include Header File That Contains base_url() |
[eluser]TexMax007[/eluser]
Yea, that's what I thought. However, you can't really do that. The error_404.php exists in the errors folder rather than the views folder, so simply doing this: Code: $this->load->view('includes/header.php') doesn't work. Then I thought about doing this: Code: $CI =& get_instance(); That didn't work either because the CI Super-Object isn't instantiated yet before the 404 error is thrown. Refer to this post: http://ellislab.com/forums/viewthread/87398/#440462 At the end they suggest just including the files. Might work for some, but for me I ran into the aforementioned issue. Thanks for the suggestion though. Keep them coming! |
Messages In This Thread |
Include Header File That Contains base_url() - by El Forum - 01-27-2012, 10:33 AM
Include Header File That Contains base_url() - by El Forum - 01-27-2012, 01:24 PM
Include Header File That Contains base_url() - by El Forum - 01-27-2012, 01:40 PM
Include Header File That Contains base_url() - by El Forum - 01-27-2012, 01:45 PM
Include Header File That Contains base_url() - by El Forum - 01-27-2012, 01:47 PM
Include Header File That Contains base_url() - by El Forum - 01-27-2012, 01:48 PM
Include Header File That Contains base_url() - by El Forum - 01-27-2012, 01:50 PM
Include Header File That Contains base_url() - by El Forum - 01-27-2012, 01:53 PM
Include Header File That Contains base_url() - by El Forum - 01-27-2012, 01:53 PM
Include Header File That Contains base_url() - by El Forum - 02-15-2012, 10:59 AM
Include Header File That Contains base_url() - by El Forum - 02-15-2012, 11:42 AM
|