2011-08-11 Sergio Martin <sergio.martin@artica.es>

* operation/agentes/stat_win.php: Fixed bad url build with 
	database host value. Now with SERVER_NAME from $_SERVER 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4717 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2011-08-11 11:54:35 +00:00
parent eeb0105e0d
commit 624ac76647
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-08-11 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/stat_win.php: Fixed bad url build with
database host value. Now with SERVER_NAME from $_SERVER
2011-08-11 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/modules/manage_nc_groups.php: Fixed some problems with pagination

View File

@ -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) {