Can't find thread that talked about calling a second controller |
I'm not sure if there will be any problems with what I did, but I tested 404s, DB errors, 503s:
PHP Code: public function show_error($heading, $message, $template = 'error_general', $status_code = 500)
(06-09-2016, 11:47 AM)skunkbad Wrote: Actually, what I ended up doing is just extending CI_Exceptions. I fiddled with the proposed MY_Loader, and had a bunch of problems. That sounds like a much cleaner approach to solve your problem.
Codeigniter is simply one of the tools you need to learn to be a successful developer. Always add more tools to your coding arsenal!
|
Welcome Guest, Not a member yet? Register Sign In |