Author: Lars Michelsen <[email protected]>
Date: Wed Jun 27 13:33:39 2012 +0200
Committer: Lars Michelsen <[email protected]>
Commit-Date: Wed Jun 27 13:33:39 2012 +0200
Bugfix: Fixed re-fetching of background image after changed geomap source file
---
share/server/core/sources/geomap.php | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/share/server/core/sources/geomap.php
b/share/server/core/sources/geomap.php
index bd921d5..d060f28 100644
--- a/share/server/core/sources/geomap.php
+++ b/share/server/core/sources/geomap.php
@@ -132,7 +132,7 @@ function process_geomap($MAPCFG, $map_name, &$map_config) {
// Adapt the global section
$map_config[0] = $saved_config[0];
- $map_config[0]['map_image'] = $image_name;
+ $map_config[0]['map_image'] = $image_name.'?'.time();
$map_config[0]['iconset'] = $iconset;
// Now add the objects to the map
@@ -201,7 +201,6 @@ function process_geomap($MAPCFG, $map_name, &$map_config) {
// Fetch the background image when needed
if(!file_exists($image_path) || filemtime(geomap_source_file($params)) >
filemtime($image_path)) {
- error_log('(re)loading map image');
// Allow/enable proxy
$contents = geomap_get_contents($url);
file_put_contents($image_path, $contents);
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins