Access CodeIgniter instance from error pages

Nanbargal

New Member
Is there any way to access the current instance of CodeIgniter from an error page? For example, I want to load views from \[code\]application/error/error_404.php\[/code\], but using \[code\]$CI =& get_instance();\[/code\] to get a reference to the CodeIgniter system doesn't work. Is this a limitation of working in error pages, and are there any workarounds?
 
Back
Top