svn commit: r711 - trunk/mapbender/http/classes/class_wmc.php
christoph at osgeo.org
christoph at osgeo.org
Fri Jul 28 08:21:45 EDT 2006
Author: christoph
Date: 2006-07-28 12:21:45+0000
New Revision: 711
Modified:
trunk/mapbender/http/classes/class_wmc.php
Log:
changed wms id generation
Modified: trunk/mapbender/http/classes/class_wmc.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/classes/class_wmc.php?view=diff&rev=711&p1=trunk/mapbender/http/classes/class_wmc.php&p2=trunk/mapbender/http/classes/class_wmc.php&r1=710&r2=711
==============================================================================
--- trunk/mapbender/http/classes/class_wmc.php (original)
+++ trunk/mapbender/http/classes/class_wmc.php 2006-07-28 12:21:45+0000
@@ -588,8 +588,7 @@
}
// create temporary WMS id
- $time = explode(" ", microtime(1));
- $id = substr(md5(substr($time[0], 2)), 0, 5);
+ $id = rand(1000, 9999);
$this->wmc_wms_count ++;
if ($action == "merge") {
More information about the Mapbender_commits
mailing list