commit | c26d34ff12458760eb843454d3224e1dad1fb2e0 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Mon Jan 28 21:46:08 2013 +0200 |
committer | Andrey Andreev <narf@bofh.bg> | Mon Jan 28 21:46:08 2013 +0200 |
tree | aa13a094e46385f54ae865df3bb283df77bd70f1 | |
parent | 662e34291a2d5d8997ea9835701fb9a8a7ec244c [diff] [blame] |
Fix issue #2202 and alter Loader Class docs
diff --git a/system/core/Loader.php b/system/core/Loader.php index 3ecce16..00ca351 100644 --- a/system/core/Loader.php +++ b/system/core/Loader.php
@@ -939,7 +939,7 @@ 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);