diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index afc69c9ddf..030c122c85 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2011-08-11 Sergio Martin + + * operation/agentes/stat_win.php: Fixed bad url build with + database host value. Now with SERVER_NAME from $_SERVER + 2011-08-11 Dario Rodriguez * godmode/modules/manage_nc_groups.php: Fixed some problems with pagination diff --git a/pandora_console/operation/agentes/stat_win.php b/pandora_console/operation/agentes/stat_win.php index 46fb500e83..4213ada1b2 100644 --- a/pandora_console/operation/agentes/stat_win.php +++ b/pandora_console/operation/agentes/stat_win.php @@ -142,8 +142,8 @@ $urlImage = 'http://'; if ($config['https']) { $urlImage = 'https://'; } -$urlImage .= $config['dbhost'] . $config['homeurl'] . '/'; - +$urlImage .= $_SERVER['SERVER_NAME'] . $config['homeurl'] . '/'; + // log4x doesnt support flash yet // switch ($graph_type) {