summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-02 19:46:15 +0200
committeradmin <devnull@localhost>2006-09-02 19:46:15 +0200
commit6ac4bea2da9e64fb0b434f52177353f6bd65b8e6 (patch)
treee9c415452c56c49c68ca6d50bd68c3e4a879925b /system/libraries
parent108d18acae3cf6e6e05afe2526eca97bfabcb4ad (diff)
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Loader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php
index f005adcf0..e2467fa64 100644
--- a/system/libraries/Loader.php
+++ b/system/libraries/Loader.php
@@ -478,7 +478,7 @@ class CI_Loader {
if ($path == '')
{
$ext = pathinfo($view, PATHINFO_EXTENSION);
- $file = ($ext != '') ? $view.EXT : $view;
+ $file = ($ext == '') ? $view.EXT : $view;
$path = $this->view_path.$file;
}
else