summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-06-24 13:11:37 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-06-24 13:11:37 +0200
commitf91ba07a0de54c2e6afedcc869948c623982a44e (patch)
tree280a3f9f65cbbe432e253ebd079f4a7c17e3ba82
parentaedf1815bdf1fb9182c276bcd3ec9fe425c3a647 (diff)
parentc59d25dcd86b0743ca6777fa922efbad308d7d3f (diff)
Merge pull request #1521 from aquarion/develop
Use the VIEWPATH constant, instead of assuming the user hasn't moved them
-rw-r--r--system/core/Exceptions.php4
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;