mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-22 13:25:11 +02:00
2011-05-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/graphs/fgraph.php include/config_process.php operation/events/events.php: Added flash graph dependencies. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4362 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
8959e4e6b6
commit
8116e4b51e
@ -1,3 +1,9 @@
|
|||||||
|
2011-05-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||||
|
|
||||||
|
* include/graphs/fgraph.php
|
||||||
|
include/config_process.php
|
||||||
|
operation/events/events.php: Added flash graph dependencies.
|
||||||
|
|
||||||
2011-05-17 Sergio Martin <sergio.martin@artica.es>
|
2011-05-17 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* images/policies_error.png
|
* images/policies_error.png
|
||||||
|
@ -152,21 +152,7 @@ if (isset($config['history_db_enabled'])) {
|
|||||||
|
|
||||||
// Make dbconnection the default connection again (the link identifier of the already opened link will be returned)
|
// Make dbconnection the default connection again (the link identifier of the already opened link will be returned)
|
||||||
db_connect();
|
db_connect();
|
||||||
|
require_once("include/fgraph.php");
|
||||||
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();
|
include_graphs_dependencies();
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
$ttl = 1;
|
$ttl = 1;
|
||||||
$homeurl = '';
|
$homeurl = '';
|
||||||
|
|
||||||
/*function include_graphs_dependencies($home_url = '', $serialize_ttl = 1) {
|
function include_graphs_dependencies($home_url = '', $serialize_ttl = 1) {
|
||||||
global $ttl;
|
global $ttl;
|
||||||
global $homeurl;
|
global $homeurl;
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ $homeurl = '';
|
|||||||
include_once($homeurl . 'include/graphs/functions_fsgraph.php');
|
include_once($homeurl . 'include/graphs/functions_fsgraph.php');
|
||||||
include_once($homeurl . 'include/graphs/functions_gd.php');
|
include_once($homeurl . 'include/graphs/functions_gd.php');
|
||||||
include_once($homeurl . 'include/graphs/functions_utils.php');
|
include_once($homeurl . 'include/graphs/functions_utils.php');
|
||||||
}*/
|
}
|
||||||
/*
|
/*
|
||||||
// If is called from index
|
// If is called from index
|
||||||
if(file_exists('include/functions.php')) {
|
if(file_exists('include/functions.php')) {
|
||||||
|
@ -20,7 +20,7 @@ require_once ("include/functions_events.php"); //Event processing functions
|
|||||||
require_once ("include/functions_alerts.php"); //Alerts processing functions
|
require_once ("include/functions_alerts.php"); //Alerts processing functions
|
||||||
require_once ($config['homedir'].'/include/functions_agents.php'); //Agents functions
|
require_once ($config['homedir'].'/include/functions_agents.php'); //Agents functions
|
||||||
require_once ($config['homedir'].'/include/functions_users.php'); //Users functions
|
require_once ($config['homedir'].'/include/functions_users.php'); //Users functions
|
||||||
|
include_flash_chart_script();
|
||||||
check_login ();
|
check_login ();
|
||||||
|
|
||||||
if (! check_acl ($config["id_user"], 0, "IR")) {
|
if (! check_acl ($config["id_user"], 0, "IR")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user