diff -ru phppgadmin-2.3.1-2.4-beta-1.orig/config.inc.php-dist phppgadmin-2.3.1-2.4-beta-1/config.inc.php-dist
--- phppgadmin-2.3.1-2.4-beta-1.orig/config.inc.php-dist	Mon Nov 26 07:43:50 2001
+++ phppgadmin-2.3.1-2.4-beta-1/config.inc.php-dist	Tue Dec 18 15:44:07 2001
@@ -51,10 +51,16 @@
 //	This feature is very useful when you have a database that has many tables and slowes down the load of the left frame.
 // $cfgNoTables[]	= "big_table";
 
-// The $cfgServers array starts with $cfgServers[1].  Do not use $cfgServers[0].
-// You can disable a server config entry by setting host to ''.
+// cfgServers[1]['local'] value determines configuration of PostgreSQL.
+// For 'true' you need to add to your /etc/postgresql/postgresql.conf file:
+// tcpip_socket = 1
+// and to your /etc/postgresql/pg_hba.conf file:
+// local        all                                           password
+// For 'false' you need to add to your /etc/postgresql/pg_hba.conf file:
+// host         all         127.0.0.1     255.0.0.0           crypt
+//
 $cfgServers[1]['local']		= false;
-$cfgServers[1]['host']		= '';
+$cfgServers[1]['host']		= 'localhost';
 $cfgServers[1]['port']		= '5432';
 $cfgServers[1]['adv_auth'] 	= true;
 
@@ -89,7 +95,8 @@
 $cfgServer 			= '';	// the selected server is copied here for easier access
 unset($cfgServers[0]);		// Since 0 = no server, $cfgServers[0] must not be used
 
-$cfgManualBase 			= "http://www.postgresql.org/users-lounge/docs/7.0/user";
+// $cfgManualBase 		= "http://www.postgresql.org/users-lounge/docs/7.0/user";
+$cfgManualBase			= "http://{$HTTP_SERVER_VARS['SERVER_NAME']}/doc/postgresql-doc/html/postgres";
 
 $cfgConfirm 			= true;
 $cfgPersistentConnections 	= false;
@@ -118,7 +125,14 @@
 $cfgNonMember    			= "#CCCC99";
 $cfgMaxTries     			= 10;
 
+include("lang/english.inc.php");	// default language - do not change!
+
 // Set your language preferences here.
-include("english.inc.php");
+// include("lang/polish.inc.php");
+
+// Load PostgreSQL module if not loaded.
+if (!extension_loaded("PostgreSQL") && !extension_loaded("pgsql")) {
+    dl("pgsql.so");
+}
 
 ?>
