Group :: Rede/Outros
RPM: WackoWiki
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: wacko-r4.2-alt-detect-mysql-extension.patch
Download
Download
--- wacko/setup/install.php.orig 2006-08-29 17:35:50 +0600
+++ wacko/setup/install.php 2006-08-29 17:36:40 +0600
@@ -4,6 +4,9 @@
// test configuration
print("<strong>".$lang["Testing Configuration"]."</strong><br />\n");
+if(!extension_loaded("mysql")) {
+ print("WARNING: MySQL extension may not be installed<br />\n");
+}
test($lang["TestSql"], $dblink = @mysql_connect($config2["mysql_host"], $config2["mysql_user"], $config2["mysql_password"]));
test($lang["Looking for database..."], @mysql_select_db($config2["mysql_database"], $dblink), $lang["DBError"]);
print("<br />\n");