[eluser]Unknown[/eluser]
hey guys,
i am using a htaccess file to route to custom error pages on various html errors:
ErrorDocument 401 /fault/code/401
ErrorDocument 403 /fault/code/403
ErrorDocument 404 /fault/code/404
ErrorDocument 500 /fault/code/500
ErrorDocument 503 /fault/code/503
the fault controller does this:
$error_code = $this->uri->segment(3);
$this->output->set_status_header($error_code);
$this->load->view('browser/error/'.$error_code, $data);
so, if i will get a 404 error, the fault controller will be running and will be display the correct view. but the view will not be parsed. every php tag will be ignored and such things like {elapsed_time} will not be converted.
could someone explain me why this not handles correct?
thank you!
kind regards