get_instance return null |
(11-26-2015, 02:12 PM)kenjis Wrote:(11-26-2015, 11:16 AM)gastongr Wrote: Your code will work when you call show_404() or show_error() from any of your controllers, but if the error is dispatched at a higher level like a real 404 this wont work since at that point no CI instance exists. If there is exception when CI is loading how do you plan to use CI ? Its logic limitations not bad design.. P.S. And why do you need CI instance inside the exceptions at all ? Exceptions should not do any logical steps.. Best VPS Hosting : Digital Ocean
|
Messages In This Thread |
get_instance return null - by llobu - 11-25-2015, 07:48 AM
RE: get_instance return null - by InsiteFX - 11-25-2015, 09:26 AM
RE: get_instance return null - by llobu - 11-25-2015, 12:25 PM
RE: get_instance return null - by jvandemerwe - 11-25-2015, 02:38 PM
RE: get_instance return null - by Narf - 11-25-2015, 05:23 PM
RE: get_instance return null - by gastongr - 11-26-2015, 11:16 AM
RE: get_instance return null - by kenjis - 11-26-2015, 02:12 PM
RE: get_instance return null - by sv3tli0 - 11-27-2015, 02:06 AM
RE: get_instance return null - by gastongr - 11-27-2015, 09:58 AM
RE: get_instance return null - by kenjis - 11-27-2015, 03:26 PM
|