[Mapbender-commits] r6863 - branches/2.6/tools
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Sep 1 04:43:35 EDT 2010
Author: tbaschetti
Date: 2010-09-01 08:43:35 +0000 (Wed, 01 Sep 2010)
New Revision: 6863
Modified:
branches/2.6/tools/mapbender_setup.php
Log:
remove MySQL-Check
added imagick-check
Modified: branches/2.6/tools/mapbender_setup.php
===================================================================
--- branches/2.6/tools/mapbender_setup.php 2010-09-01 08:26:51 UTC (rev 6862)
+++ branches/2.6/tools/mapbender_setup.php 2010-09-01 08:43:35 UTC (rev 6863)
@@ -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;
####################################
@@ -139,7 +139,7 @@
<?php
$con = @db_connect(DBSERVER,OWNER,PW);
if (SYS_DBTYPE=="mysql"){
- $check = "<tr ><td width=\"25%\">Administration Database</td><td>X</td><td><font color=#00D000>MySQL</td><tr>";
+ $check = "<tr ><td width=\"25%\">Administration Database</td><td>X</td><td><font color=#FF0000>MySQL (no longer supported!)</td><tr>";
$check .= "<tr ><td>Connect to Database</td>";
if($con) $check .="<td width=\"10\">X</td><td><font color=#00D000>connected</font></td></tr>";
else $check .="<td width=\"10\"></td><td><font color=#FF0000>not connected</font></td></tr>";
More information about the Mapbender_commits
mailing list