diff options
-rwxr-xr-x | application/errors/error_general.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/errors/error_general.php b/application/errors/error_general.php index 4c2554c07..ae2bac76d 100755 --- a/application/errors/error_general.php +++ b/application/errors/error_general.php @@ -1,9 +1,9 @@ <?php // fancy error page only works if we can load helpers -if (class_exists("CI_Controller") || isset($is_error_page)) { +if (class_exists("CI_Controller") && !isset($GLOBALS["is_error_page"])) { $title = "Error"; - $is_error_page = true; + $GLOBALS["is_error_page"] = true; $CI =& get_instance(); $CI->load->helper("filebin"); |