[Mapbender-commits] r1619 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Aug 7 03:50:45 EDT 2007
Author: christoph
Date: 2007-08-07 03:50:44 -0400 (Tue, 07 Aug 2007)
New Revision: 1619
Modified:
trunk/mapbender/http/php/mod_editGuiWms.php
Log:
http://trac.osgeo.org/mapbender/ticket/80
Modified: trunk/mapbender/http/php/mod_editGuiWms.php
===================================================================
--- trunk/mapbender/http/php/mod_editGuiWms.php 2007-08-06 14:30:45 UTC (rev 1618)
+++ trunk/mapbender/http/php/mod_editGuiWms.php 2007-08-07 07:50:44 UTC (rev 1619)
@@ -39,7 +39,10 @@
function toImage($text) {
$angle = 90;
- return "<img src='../php/createImageFromText.php?text=" . urlencode($text) . "&angle=" . $angle . "'>";
+ 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