2010-03-01 Sancho Lerena <slerena@artica.es>

* include/styles/menu.css,
        include/functions_db.php,
        operation/menu.php: New code for give support for Metaconsole. Added nocache
        settings in some SQL main functions to avoid globally usage of SQL cache.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2439 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2010-03-01 18:46:19 +00:00
parent 1107c289c5
commit 98421e46b6
4 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2010-03-01 Sancho Lerena <slerena@artica.es>
* include/styles/menu.css,
include/functions_db.php,
operation/menu.php: New code for give support for Metaconsole. Added nocache
settings in some SQL main functions to avoid globally usage of SQL cache.
2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php: fix in javascript function

View File

@ -1826,6 +1826,11 @@ function get_db_all_rows_sql ($sql, $search_history_db = false, $cache = true) {
global $config;
$history = array ();
// To disable globally SQL cache depending on global variable.
// Used in several critical places like Metaconsole trans-server queries
if (isset($config["dbcache"]))
$cache = $config["dbcache"];
// Read from the history DB if necessary
if ($search_history_db) {
$cache = false;

View File

@ -90,6 +90,9 @@
#icon_oper-dashboard {
background-image: url(../../images/house.png);
}
#icon_oper-metaconsole {
background-image: url(../../images/application_double.png);
}
#icon_oper-agents {
background-image: url(../../images/bricks.png);

View File

@ -28,6 +28,8 @@ $menu['class'] = 'operation';
// Agent read, Server read
if (give_acl ($config['id_user'], 0, "AR")) {
enterprise_hook ('metaconsole_menu');
enterprise_hook ('dashboard_menu');
//View agents