diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2012-06-24 13:11:37 +0200 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2012-06-24 13:11:37 +0200 |
commit | f91ba07a0de54c2e6afedcc869948c623982a44e (patch) | |
tree | 280a3f9f65cbbe432e253ebd079f4a7c17e3ba82 /system/core/Exceptions.php | |
parent | aedf1815bdf1fb9182c276bcd3ec9fe425c3a647 (diff) | |
parent | c59d25dcd86b0743ca6777fa922efbad308d7d3f (diff) |
Merge pull request #1521 from aquarion/develop
Use the VIEWPATH constant, instead of assuming the user hasn't moved them
Diffstat (limited to 'system/core/Exceptions.php')
-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; |