diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 816b8d116f..2ed71e1eb3 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2013-10-22 Hirofumi Kosaka + + * include/ajax/module.php: changed the code to avoid to try to + load enterprise code unconditionally. + 2013-10-21 Miguel de Dios * include/functions_api.php: applied the path from diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php index 3d29f6b46f..a9f604b4d9 100644 --- a/pandora_console/include/ajax/module.php +++ b/pandora_console/include/ajax/module.php @@ -18,7 +18,7 @@ global $config; include_once($config['homedir'] . "/include/functions_agents.php"); include_once($config['homedir'] . "/include/functions_ui.php"); -require_once ($config['homedir'] . '/enterprise/include/functions_metaconsole.php'); +enterprise_include_once ('include/functions_metaconsole.php'); $get_plugin_macros = get_parameter('get_plugin_macros'); if ($get_plugin_macros) { @@ -326,4 +326,4 @@ if ($get_module_detail) { return; } -?> \ No newline at end of file +?>