commit | 1d3752c109547919f15b321beb2d5375fc2db150 | [log] [tgz] |
---|---|---|
author | Daniel <contact@danielupshaw.com> | Sun Apr 14 16:41:57 2013 -0400 |
committer | Daniel <contact@danielupshaw.com> | Sun Apr 14 16:41:57 2013 -0400 |
tree | d8fc48865efc3824c3b6e74856dbc0409efae361 | |
parent | 5eb1cbfa673bfa4b8a66ab8a56389a279c1f975b [diff] |
Fix for extending classes in a subdirectory (e.g. drivers)
diff --git a/system/core/Loader.php b/system/core/Loader.php index d4e6323..8f76f9a 100644 --- a/system/core/Loader.php +++ b/system/core/Loader.php
@@ -955,7 +955,7 @@ // Is this a class extension request? if (file_exists($subclass)) { - $baseclass = BASEPATH.'libraries/'.$class.'.php'; + $baseclass = BASEPATH.'libraries/'.$subdir.$class.'.php'; if ( ! file_exists($baseclass)) {