$errs["RootPW"] = "and password";
continue;
}
+ $wgDatabase->initial_setup($conf->RootPW, 'postgres');
}
echo( "<li>Attempting to connect to database \"$wgDBname\" as \"$wgDBuser\"..." );
$wgDatabase = $dbc->newFromParams($wgDBserver, $wgDBuser, $wgDBpassword, $wgDBname, 1);
} else {
$myver = $wgDatabase->getServerVersion();
}
+ $wgDatabase->initial_setup('', $wgDBname);
}
if ( !$wgDatabase->isOpen() ) {
# When you make changes to this configuration file, this will make
# sure that cached pages are cleared.
-\$configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) );
-\$wgCacheEpoch = max( \$wgCacheEpoch, \$configdate );
- "; ## End of setting the $localsettings string
+\$wgCacheEpoch = max( \$wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) );
+"; ## End of setting the $localsettings string
// Keep things in Unix line endings internally;
// the system will write out as local text type.