From 3cbec8d10802006f7696f8d03c7798b06a2f06e4 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Mon, 5 Apr 2010 15:54:17 +0000 Subject: [PATCH] 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. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2539 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ .../godmode/reporting/visual_console_builder.editor.php | 2 +- pandora_console/operation/agentes/alerts_status.php | 2 ++ pandora_console/operation/agentes/estado_agente.php | 2 -- 4 files changed, 8 insertions(+), 3 deletions(-) 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;