diff --git a/src/messenger/tests/webim/libs/classes/EventDispatcherTest.php b/src/messenger/tests/webim/libs/classes/EventDispatcherTest.php index 9a144601..915901e5 100644 --- a/src/messenger/tests/webim/libs/classes/EventDispatcherTest.php +++ b/src/messenger/tests/webim/libs/classes/EventDispatcherTest.php @@ -2,7 +2,7 @@ require_once dirname(__FILE__) . '/../../../../webim/libs/classes/event_dispatcher.php'; require_once dirname(__FILE__) . '/../../../../webim/libs/classes/plugin.php'; -require_once dirname(__FILE__) . '/phpunit_autotest_plugin_manager/plugin.mibew.inc.php'; +require_once dirname(__FILE__) . '/phpunit_autotest_plugin_manager/phpunit_autotest_plugin_manager_plugin.php'; /** * Test class for EventDispatcher. diff --git a/src/messenger/tests/webim/libs/classes/phpunit_autotest_plugin_manager/plugin.mibew.inc.php b/src/messenger/tests/webim/libs/classes/phpunit_autotest_plugin_manager/phpunit_autotest_plugin_manager_plugin.php similarity index 100% rename from src/messenger/tests/webim/libs/classes/phpunit_autotest_plugin_manager/plugin.mibew.inc.php rename to src/messenger/tests/webim/libs/classes/phpunit_autotest_plugin_manager/phpunit_autotest_plugin_manager_plugin.php diff --git a/src/messenger/webim/libs/classes/plugin_manager.php b/src/messenger/webim/libs/classes/plugin_manager.php index 8bae5176..bb960d86 100644 --- a/src/messenger/webim/libs/classes/plugin_manager.php +++ b/src/messenger/webim/libs/classes/plugin_manager.php @@ -56,7 +56,7 @@ Class PluginManager { $plugin_config = isset($plugin['config']) ? $plugin['config'] : array(); $plugin_classname = ucfirst($plugin_name) . "Plugin"; // Try to load plugin file - if (! (include_once $plugin_name."/plugin.mibew.inc.php")) { + if (! (include_once $plugin_name."/".$plugin_name."_plugin.php")) { trigger_error("Cannot load plugin file!", E_USER_ERROR); } // Check plugin class name