2011-05-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* include/config_process.php
	include/graphs/fgraph.php: Included new graph dependencies.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4358 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-05-16 16:52:12 +00:00
parent e9013f9533
commit be995bedee
3 changed files with 24 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2011-05-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/config_process.php
include/graphs/fgraph.php: Included new graph dependencies.
2011-05-16 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql

View File

@ -152,4 +152,21 @@ if (isset($config['history_db_enabled'])) {
// Make dbconnection the default connection again (the link identifier of the already opened link will be returned)
db_connect();
function include_graphs_dependencies($home_url = '', $serialize_ttl = 1) {
global $ttl;
global $homeurl;
$ttl = $serialize_ttl;
$homeurl = $home_url;
include_once($homeurl . 'include/functions.php');
include_once($homeurl . 'include/functions_html.php');
include_once($homeurl . 'include/graphs/functions_fsgraph.php');
include_once($homeurl . 'include/graphs/functions_gd.php');
include_once($homeurl . 'include/graphs/functions_utils.php');
}
include_graphs_dependencies();
?>

View File

@ -13,7 +13,7 @@
$ttl = 1;
$homeurl = '';
function include_graphs_dependencies($home_url = '', $serialize_ttl = 1) {
/*function include_graphs_dependencies($home_url = '', $serialize_ttl = 1) {
global $ttl;
global $homeurl;
@ -26,8 +26,7 @@ function include_graphs_dependencies($home_url = '', $serialize_ttl = 1) {
include_once($homeurl . 'include/graphs/functions_fsgraph.php');
include_once($homeurl . 'include/graphs/functions_gd.php');
include_once($homeurl . 'include/graphs/functions_utils.php');
}
}*/
/*
// If is called from index
if(file_exists('include/functions.php')) {