diff options
author | Nicholas Avenell <nicholas@aquarionics.com> | 2012-06-24 12:57:18 +0200 |
---|---|---|
committer | Nicholas Avenell <nicholas@aquarionics.com> | 2012-06-24 12:57:18 +0200 |
commit | c59d25dcd86b0743ca6777fa922efbad308d7d3f (patch) | |
tree | dd4d16c41e8d77a9d30890fe64a88e87cb3898f9 /system | |
parent | 2c35b64fc2b072ce873c56dde0f4bb1e5f404450 (diff) |
Use the VIEWPATH constant, instead of assuming the user hasn't moved them
Diffstat (limited to 'system')
-rw-r--r-- | system/core/Exceptions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Exceptions.php b/system/core/Exceptions.php index 8c32085fe..bd9178dbd 100644 --- a/system/core/Exceptions.php +++ b/system/core/Exceptions.php @@ -143,7 +143,7 @@ class CI_Exceptions { ob_end_flush(); } ob_start(); - include(APPPATH.'views/errors/'.$template.'.php'); + include(VIEWPATH.'errors/'.$template.'.php'); $buffer = ob_get_contents(); ob_end_clean(); return $buffer; @@ -177,7 +177,7 @@ class CI_Exceptions { ob_end_flush(); } ob_start(); - include(APPPATH.'views/errors/error_php.php'); + include(VIEWPATH.'errors/error_php.php'); $buffer = ob_get_contents(); ob_end_clean(); echo $buffer; |