SOURCES: dokuwiki-mysqlauth.patch (NEW) - allow empty pass for mys...

glen glen at pld-linux.org
Fri Nov 9 17:56:06 CET 2007


Author: glen                         Date: Fri Nov  9 16:56:06 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- allow empty pass for mysql (default mysql install)

---- Files affected:
SOURCES:
   dokuwiki-mysqlauth.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/dokuwiki-mysqlauth.patch
diff -u /dev/null SOURCES/dokuwiki-mysqlauth.patch:1.1
--- /dev/null	Fri Nov  9 17:56:06 2007
+++ SOURCES/dokuwiki-mysqlauth.patch	Fri Nov  9 17:56:01 2007
@@ -0,0 +1,11 @@
+--- dokuwiki/inc/auth/mysql.class.php~	2007-11-09 18:52:23.000000000 +0200
++++ dokuwiki/inc/auth/mysql.class.php	2007-11-09 18:52:24.656504794 +0200
+@@ -46,7 +46,7 @@
+ 
+       // set capabilities based upon config strings set
+       if (empty($this->cnf['server']) || empty($this->cnf['user']) ||
+-          empty($this->cnf['password']) || empty($this->cnf['database'])){
++          empty($this->cnf['database'])){
+         if ($this->cnf['debug'])
+           msg("MySQL err: insufficient configuration.",-1,__LINE__,__FILE__);
+         $this->success = false;
================================================================


More information about the pld-cvs-commit mailing list