From b09aff7fa4044655405f8cdf1c5295c1a6b717ce Mon Sep 17 00:00:00 2001
From: zarzuelo <zarzuelo@gmail.com>
Date: Wed, 25 Jan 2012 09:09:55 +0000
Subject: [PATCH] 2012-01-25  Sergio Martin <sergio.martin@artica.es>

	* include/functions_network_components.php: Fixed some
	include relative paths to API calls



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5423 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
---
 pandora_console/ChangeLog                                | 5 +++++
 pandora_console/include/functions_network_components.php | 6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog
index c5aded1402..31dffb70ff 100644
--- a/pandora_console/ChangeLog
+++ b/pandora_console/ChangeLog
@@ -1,3 +1,8 @@
+2012-01-25  Sergio Martin <sergio.martin@artica.es>
+
+	* include/functions_network_components.php: Fixed some
+	include relative paths to API calls
+
 2012-01-25  Sergio Martin <sergio.martin@artica.es>
 
 	* include/functions_incidents.php
diff --git a/pandora_console/include/functions_network_components.php b/pandora_console/include/functions_network_components.php
index 885a602c15..56e2aee7fd 100644
--- a/pandora_console/include/functions_network_components.php
+++ b/pandora_console/include/functions_network_components.php
@@ -21,9 +21,9 @@
 /**
  * Include modules functions
  */
-include_once ('include/functions_modules.php');
-include_once ('include/functions_agents.php');
-include_once ('include/functions_users.php');
+include_once ($config['homedir'].'/include/functions_modules.php');
+include_once ($config['homedir'].'/include/functions_agents.php');
+include_once ($config['homedir'].'/include/functions_users.php');
 
 /**
  * Get a list of network components.