summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorJoe McFrederick <jomcfred@gmail.com>2012-08-18 18:29:56 +0200
committerJoe McFrederick <jomcfred@gmail.com>2012-08-18 18:29:56 +0200
commit64f470bfb9b4aa4e0abc984dacd543bb7d059260 (patch)
tree8700f44b29e7f7e2b5eec3149682ae0c2ec705c1 /system
parent58854c372175552bb9e360deace7eeb52cdda059 (diff)
Fix bug #1000
Diffstat (limited to 'system')
-rw-r--r--system/core/Loader.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 0bc6e844a..656934c87 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -785,11 +785,11 @@ class CI_Loader {
$_ci_ext = pathinfo($_ci_view, PATHINFO_EXTENSION);
$_ci_file = ($_ci_ext === '') ? $_ci_view.'.php' : $_ci_view;
- foreach ($this->_ci_view_paths as $view_file => $cascade)
+ foreach ($this->_ci_view_paths as $_ci_view_file => $cascade)
{
- if (file_exists($view_file.$_ci_file))
+ if (file_exists($_ci_view_file.$_ci_file))
{
- $_ci_path = $view_file.$_ci_file;
+ $_ci_path = $_ci_view_file.$_ci_file;
$file_exists = TRUE;
break;
}