commit | 17f740665b520f124d5bee352b52fbc5a195a9e4 | [log] [tgz] |
---|---|---|
author | Derek Allard <derek.allard@ellislab.com> | Wed Jan 16 01:22:44 2008 +0000 |
committer | Derek Allard <derek.allard@ellislab.com> | Wed Jan 16 01:22:44 2008 +0000 |
tree | 1b934e89104e03fa57607b935043b52d9bcdc2e7 | |
parent | 76708b780c558c0d5db1efd8e11787269e0507e3 [diff] |
fixed a bug when loading plugin files as _plugin. and not _pi
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php index 2de2bd7..99652c0 100644 --- a/system/libraries/Loader.php +++ b/system/libraries/Loader.php
@@ -398,7 +398,7 @@ foreach ($plugins as $plugin) { - $plugin = strtolower(str_replace(EXT, '', str_replace('_plugin.', '', $plugin)).'_pi'); + $plugin = strtolower(str_replace(EXT, '', str_replace('_pi', '', $plugin)).'_pi'); if (isset($this->_ci_plugins[$plugin])) {