From a361c523a2728abf69b354a1019da52df73efd73 Mon Sep 17 00:00:00 2001 From: hkosaka Date: Tue, 22 Oct 2013 09:42:36 +0000 Subject: [PATCH] 2013-10-22 Hirofumi Kosaka * include/ajax/module.php: changed the code to avoid to try to load enterprise code unconditionally. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8944 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/ajax/module.php | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 +?>