[Mapbender-commits] r2471 - branches/2.5/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon May 26 08:12:29 EDT 2008


Author: astrid_emde
Date: 2008-05-26 08:12:28 -0400 (Mon, 26 May 2008)
New Revision: 2471

Modified:
   branches/2.5/http/php/mod_editGuiWms.php
Log:
gd - does not check for gd2. sometimes gd is there but not gd2

Modified: branches/2.5/http/php/mod_editGuiWms.php
===================================================================
--- branches/2.5/http/php/mod_editGuiWms.php	2008-05-21 18:38:55 UTC (rev 2470)
+++ branches/2.5/http/php/mod_editGuiWms.php	2008-05-26 12:12:28 UTC (rev 2471)
@@ -34,7 +34,7 @@
 
 function toImage($text) {
 	$angle = 90;
-	if (extension_loaded("gd")) {
+	if (extension_loaded("gd2")) {
 		return "<img src='../php/createImageFromText.php?text=" . urlencode($text) . "&angle=" . $angle . "'>";
 	}
 	return $text;



More information about the Mapbender_commits mailing list