Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > by-pkgid > ecf746742af7c6c4b6676619e6974041 > files > 2

mediawiki-1.10.1-1mdv2008.0.src.rpm

fix installation if not using root access
--- ./config/index.php.tv2	2006-07-28 03:07:26.000000000 +0200
+++ ./config/index.php	2006-07-28 03:07:02.000000000 +0200
@@ -623,7 +623,7 @@
 			$ok = true; # Let's be optimistic
 			
 			# Decide if we're going to use the superuser or the regular database user
-			if( $conf->RootPW == '-' ) {
+			if( $conf->RootPW == '' ) {
 				# Regular user
 				$conf->Root = false;
 				$db_user = $wgDBuser;