diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index b5e8216edd..ed049b7406 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-03-31 Miguel de Dios + + * operation/agentes/alerts_status.php, operation/agentes/estado_agente.php, + godmode/reporting/visual_console_builder.editor.php: cleaned source code. + 2010-04-03 Raúl Mateos * operation/events/event_statistics.php: Updated year and headers. There diff --git a/pandora_console/godmode/reporting/visual_console_builder.editor.php b/pandora_console/godmode/reporting/visual_console_builder.editor.php index 271b17e024..4ebae943db 100644 --- a/pandora_console/godmode/reporting/visual_console_builder.editor.php +++ b/pandora_console/godmode/reporting/visual_console_builder.editor.php @@ -12,9 +12,9 @@ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. -// Login check global $config; +// Login check check_login (); if (! give_acl ($config['id_user'], 0, "IW")) { diff --git a/pandora_console/operation/agentes/alerts_status.php b/pandora_console/operation/agentes/alerts_status.php index 40c8e89130..5cbe9b3a71 100644 --- a/pandora_console/operation/agentes/alerts_status.php +++ b/pandora_console/operation/agentes/alerts_status.php @@ -13,7 +13,9 @@ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. +global $config; +// Login check check_login (); require_once ("include/functions_agents.php"); diff --git a/pandora_console/operation/agentes/estado_agente.php b/pandora_console/operation/agentes/estado_agente.php index 34760f7130..48e1e331f6 100644 --- a/pandora_console/operation/agentes/estado_agente.php +++ b/pandora_console/operation/agentes/estado_agente.php @@ -13,8 +13,6 @@ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. - - // Load global vars global $config;