[Mapbender-commits] r1583 - trunk/mapbender/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Aug 6 03:55:22 EDT 2007
Author: christoph
Date: 2007-08-06 03:55:22 -0400 (Mon, 06 Aug 2007)
New Revision: 1583
Modified:
trunk/mapbender/http/classes/class_weldLegend2PNG.php
Log:
replaced old string functions by multibyte string function
Modified: trunk/mapbender/http/classes/class_weldLegend2PNG.php
===================================================================
--- trunk/mapbender/http/classes/class_weldLegend2PNG.php 2007-08-06 07:54:44 UTC (rev 1582)
+++ trunk/mapbender/http/classes/class_weldLegend2PNG.php 2007-08-06 07:55:22 UTC (rev 1583)
@@ -95,13 +95,13 @@
* @todo handle as reg-exp?
* @todo instanciate $im as false or null?
*/
- if(strtolower($f) == 'image/png' || strtolower($f) == 'png'){
+ if(mb_strtolower($f) == 'image/png' || mb_strtolower($f) == 'png'){
$im = @ImageCreateFromPNG($imgurl);
}
- if(strtolower($f) == 'image/jpeg' || strtolower($f) == 'jpeg'){
+ if(mb_strtolower($f) == 'image/jpeg' || mb_strtolower($f) == 'jpeg'){
$im = @ImageCreateFromJPEG($imgurl);
}
- if(strtolower($f) == 'image/gif' || strtolower($f) == 'gif'){
+ if(mb_strtolower($f) == 'image/gif' || mb_strtolower($f) == 'gif'){
$im = @ImageCreateFromGIF($imgurl);
}
if(!$im){
More information about the Mapbender_commits
mailing list