mirror of
https://github.com/Mibew/java.git
synced 2025-01-22 17:40:35 +03:00
Modified plugin name for autoload
This commit is contained in:
parent
c9ffa8291d
commit
91c5ca45ae
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user