summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2012-05-14 21:21:33 +0200
committerTimothy Warren <tim@timshomepage.net>2012-05-14 21:21:33 +0200
commit09069ddcecde9a0c66e41087e816567d420eb750 (patch)
tree6c8687579aaa2c9ee70a0cb984f480c607f51e72
parentfff6c2a3caa1ce14e58fcb3ee0d937d17985eea1 (diff)
Move errors to views folder
-rw-r--r--application/views/errors/error_404.php (renamed from application/errors/error_404.php)0
-rw-r--r--application/views/errors/error_db.php (renamed from application/errors/error_db.php)0
-rw-r--r--application/views/errors/error_general.php (renamed from application/errors/error_general.php)0
-rw-r--r--application/views/errors/error_php.php (renamed from application/errors/error_php.php)0
-rw-r--r--application/views/errors/index.html (renamed from application/errors/index.html)0
-rwxr-xr-xsystem/core/Exceptions.php4
6 files changed, 2 insertions, 2 deletions
diff --git a/application/errors/error_404.php b/application/views/errors/error_404.php
index c19bedfcd..c19bedfcd 100644
--- a/application/errors/error_404.php
+++ b/application/views/errors/error_404.php
diff --git a/application/errors/error_db.php b/application/views/errors/error_db.php
index 3b244e094..3b244e094 100644
--- a/application/errors/error_db.php
+++ b/application/views/errors/error_db.php
diff --git a/application/errors/error_general.php b/application/views/errors/error_general.php
index c88afe168..c88afe168 100644
--- a/application/errors/error_general.php
+++ b/application/views/errors/error_general.php
diff --git a/application/errors/error_php.php b/application/views/errors/error_php.php
index 3855720de..3855720de 100644
--- a/application/errors/error_php.php
+++ b/application/views/errors/error_php.php
diff --git a/application/errors/index.html b/application/views/errors/index.html
index c942a79ce..c942a79ce 100644
--- a/application/errors/index.html
+++ b/application/views/errors/index.html
diff --git a/system/core/Exceptions.php b/system/core/Exceptions.php
index 2e9f0c766..f9618044e 100755
--- a/system/core/Exceptions.php
+++ b/system/core/Exceptions.php
@@ -141,7 +141,7 @@ class CI_Exceptions {
ob_end_flush();
}
ob_start();
- include(APPPATH.'errors/'.$template.'.php');
+ include(APPPATH.'views/errors/'.$template.'.php');
$buffer = ob_get_contents();
ob_end_clean();
return $buffer;
@@ -175,7 +175,7 @@ class CI_Exceptions {
ob_end_flush();
}
ob_start();
- include(APPPATH.'errors/'.'error_php.php');
+ include(APPPATH.'views/errors/error_php.php');
$buffer = ob_get_contents();
ob_end_clean();
echo $buffer;