diff options
-rw-r--r-- | system/libraries/Loader.php | 2 |
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]))
{
|