summaryrefslogtreecommitdiffstats
path: root/system/core/Loader.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2013-01-28 20:46:08 +0100
committerAndrey Andreev <narf@bofh.bg>2013-01-28 20:46:08 +0100
commitc26d34ff12458760eb843454d3224e1dad1fb2e0 (patch)
treeaa13a094e46385f54ae865df3bb283df77bd70f1 /system/core/Loader.php
parent662e34291a2d5d8997ea9835701fb9a8a7ec244c (diff)
Fix issue #2202 and alter Loader Class docs
Diffstat (limited to 'system/core/Loader.php')
-rw-r--r--system/core/Loader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 3ecce1676..00ca35199 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -939,7 +939,7 @@ class CI_Loader {
if (($last_slash = strrpos($class, '/')) !== FALSE)
{
// Extract the path
- $subdir = ucfirst(substr($class, 0, ++$last_slash));
+ $subdir = substr($class, 0, ++$last_slash);
// Get the filename from the path
$class = substr($class, $last_slash);