[Mapbender-commits] r1279 - trunk/mapbender/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Apr 26 09:54:54 EDT 2007
Author: christoph
Date: 2007-04-26 09:54:53 -0400 (Thu, 26 Apr 2007)
New Revision: 1279
Modified:
trunk/mapbender/http/classes/class_connector.php
Log:
replaced fixed path by constant from mapbender.conf
Modified: trunk/mapbender/http/classes/class_connector.php
===================================================================
--- trunk/mapbender/http/classes/class_connector.php 2007-04-26 07:45:39 UTC (rev 1278)
+++ trunk/mapbender/http/classes/class_connector.php 2007-04-26 13:54:53 UTC (rev 1279)
@@ -49,7 +49,7 @@
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$file = curl_exec ($ch);
curl_close ($ch);
- $h = fopen("/data/mapbender/http/tmp/".md5(microtime()).".png", "w");
+ $h = fopen(TMPDIR.md5(microtime()).".png", "w");
fputs($h, $file);
fclose($h);
More information about the Mapbender_commits
mailing list