summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-02 19:43:16 +0200
committeradmin <devnull@localhost>2006-09-02 19:43:16 +0200
commit337b270b6e566e81d3ee3b5575a3f274c000b459 (patch)
treebc56a0841a4f27c05dc07a96c6e4a76370263488 /system
parent2ed76d5ac89ec7869dcb64c050360fb2f99e9326 (diff)
Diffstat (limited to 'system')
-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 3d2501fc0..f005adcf0 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 != EXT) ? $view.EXT : $view;
+ $file = ($ext != '') ? $view.EXT : $view;
$path = $this->view_path.$file;
}
else