Welcome Guest, Not a member yet? Register   Sign In
PHP includes aren't working in CI
#4

[eluser]Jamie Rumbelow[/eluser]
The whole system builds a string of all the things in your views, and sends that to the browser. You can manually override that with the $this->output->set_output() method. Do something like this as a hook maybe:

Code:
$this->output->set_output(file_get_contents("include.inc") . $this->output->get_output());

Read more about the output class here: http://ellislab.com/codeigniter/user-gui...utput.html


Messages In This Thread
PHP includes aren't working in CI - by El Forum - 05-25-2008, 03:28 AM
PHP includes aren't working in CI - by El Forum - 05-25-2008, 03:38 AM
PHP includes aren't working in CI - by El Forum - 05-25-2008, 03:44 AM
PHP includes aren't working in CI - by El Forum - 05-25-2008, 03:52 AM
PHP includes aren't working in CI - by El Forum - 05-25-2008, 05:43 AM
PHP includes aren't working in CI - by El Forum - 05-25-2008, 06:35 AM
PHP includes aren't working in CI - by El Forum - 05-25-2008, 06:49 AM
PHP includes aren't working in CI - by El Forum - 05-25-2008, 06:54 AM
PHP includes aren't working in CI - by El Forum - 05-25-2008, 09:22 AM
PHP includes aren't working in CI - by El Forum - 05-25-2008, 10:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB