From 17f740665b520f124d5bee352b52fbc5a195a9e4 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Wed, 16 Jan 2008 01:22:44 +0000 Subject: fixed a bug when loading plugin files as _plugin. and not _pi --- system/libraries/Loader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/libraries/Loader.php') 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])) { -- cgit v1.2.3-24-g4f1b