summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
Diffstat (limited to 'system/core')
-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 976823f81..292fdc955 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -506,7 +506,7 @@ class CI_Loader {
// and typically identically named to the library
if ( ! strpos($library, '/'))
{
- $library = $library.'/'.$library;
+ $library = ucfirst($library).'/'.$library;
}
return $this->library($library, $params, $object_name);