summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-01-16 02:22:44 +0100
committerDerek Allard <derek.allard@ellislab.com>2008-01-16 02:22:44 +0100
commit17f740665b520f124d5bee352b52fbc5a195a9e4 (patch)
tree1b934e89104e03fa57607b935043b52d9bcdc2e7
parent76708b780c558c0d5db1efd8e11787269e0507e3 (diff)
fixed a bug when loading plugin files as _plugin. and not _pi
-rw-r--r--system/libraries/Loader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php
index 2de2bd7f2..99652c0b8 100644
--- a/system/libraries/Loader.php
+++ b/system/libraries/Loader.php
@@ -398,7 +398,7 @@ class CI_Loader {
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]))
{