[Mapbender-commits] r6864 - trunk/mapbender/tools

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Sep 1 04:44:17 EDT 2010


Author: tbaschetti
Date: 2010-09-01 08:44:17 +0000 (Wed, 01 Sep 2010)
New Revision: 6864

Modified:
   trunk/mapbender/tools/mapbender_setup.php
Log:
removed MySQL-Check
added imagick-check
http://trac.osgeo.org/mapbender/ticket/676


Modified: trunk/mapbender/tools/mapbender_setup.php
===================================================================
--- trunk/mapbender/tools/mapbender_setup.php	2010-09-01 08:43:35 UTC (rev 6863)
+++ trunk/mapbender/tools/mapbender_setup.php	2010-09-01 08:44:17 UTC (rev 6864)
@@ -109,12 +109,9 @@
 	?>
 	<th colspan="3" bgcolor=#F0F0F0>PHP Extensioncheck</th>
 	<?php
-#MYSQL	
-	if(!extension_loaded('mysql')) $check="<tr ><td width=\"25%\">MySQL check</td><td width=\"10\"></td><td><font color=#FF0000 >MySQL not installed! (You have to include mysql-extension if you want to use MySQL as MB-Database!)</font></td></tr>";
-	else $check="<tr ><td width=\"25%\">MySQL check</td><td width=\"10\">X</td><td><font color=#00D000 >MySQL installed</font></td></tr>";
 #PGSQL
-	if(!extension_loaded('pgsql')) $check.="<tr><td>PostgreSQL check</td><td></td><td><font color=#FF0000>PostgreSQL not installed (You have to include pgsql-extension if you want to use Postgres as MB-Database!)</font></td></tr>";
-	else $check.="<tr><td>PostgreSQL check</td><td>X</td><td><font color=#00D000>PostgreSQL installed</font></td></tr>";
+	if(!extension_loaded('pgsql')) $check="<tr><td>PostgreSQL check</td><td></td><td><font color=#FF0000>PostgreSQL not installed (You have to include pgsql-extension if you want to use Postgres as MB-Database!)</font></td></tr>";
+	else $check="<tr><td>PostgreSQL check</td><td>X</td><td><font color=#00D000>PostgreSQL installed</font></td></tr>";
 #GD
 	if(extension_loaded('gd')) $check.="<tr ><td>GD2 check</td><td>X</td><td><font color=#00D000>GD installed</font></td></tr>";
 	else $check.="<tr ><td>GD2 check</td><td></td><td><font color=#FF0000>GD not installed (no printing possible)</font></td></tr>";
@@ -126,6 +123,9 @@
 #gettext
 	if(extension_loaded('gettext')) $check.="<tr ><td>gettext check</td><td>X</td><td><font color=#00D000>gettext installed</font></td></tr>";
 	else $check.="<tr ><td>gettext check</td><td></td><td><font color=#FF0000>PHP extension gettext is not installed</font></td></tr>";
+#imagick
+	if(extension_loaded('imagick')) $check.="<tr ><td>imagick check</td><td>X</td><td><font color=#00D000>imagick installed</font></td></tr>";
+	else $check.="<tr ><td>imagick check</td><td></td><td><font color=#FF0000>PHP extension imagick is not installed</font></td></tr>";
 
 echo $check;	    
 ####################################



More information about the Mapbender_commits mailing list