Now that I think about it, we're going to have to set $wgSharedPrefix inside of Setup...
[lhc/web/wiklou.git] / includes / Setup.php
index ecdb819..92e310b 100644 (file)
@@ -187,6 +187,9 @@ wfDebug( 'Main cache: ' . get_class( $wgMemc ) .
 wfProfileOut( $fname.'-memcached' );
 wfProfileIn( $fname.'-SetupSession' );
 
+# Set default shared prefix
+if( $wgSharedPrefix === false ) $wgSharedPrefix = $wgDBprefix;
+
 if ( $wgDBprefix ) {
        $wgCookiePrefix = $wgDBname . '_' . $wgDBprefix;
 } elseif ( $wgSharedDB ) {