- /**
- * This is the Phppgadmin configuration center. Users need to modify the settings here according to their actual situation.
- *
- * $Id: Config.inc.php-dist,v 1.53 2007/04/18 14:08:48 Mr-russ EXP $
- */bbs.it-home.org
- A sample server. You can build any number of these servers, and the index increments from zero.
- Name of the server displayed on the login screen
- $conf [' Servers '][0][' desc '] = ' PostgreSQL ';
- The host name or IP address of the server. For UNIX domain sockets, use '.
- For local TCP/IP links, use ' localhost '.
- $conf [' Servers '][0][' host '] = ';
- Database link port for server (5432 is the default port for PostgreSQL)
- $conf [' Servers '][0][' port '] = 5432;
- SSL Link Options: Disable (Forbidden), allow (allowed), prefer (preferred), require (required)
- $conf [' Servers '][0][' sslmode '] = ' allow ';
- Change the database that is linked by default only when you cannot connect to template1.
- For PostgreSQL 8.1 or more servers, you need to set this to ' Postgres '
- $conf [' Servers '][0][' defaultdb '] = ' template1 ';
- Specifies the path to the database dump tool. If no dump tool is available, please set this to '.
- $conf [' Servers '][0][' pg_dump_path '] = '/usr/bin/pg_dump ';
- $conf [' Servers '][0][' pg_dumpall_path '] = '/usr/bin/pg_dumpall ';
- Using Slony (www.slony.info) support?
- $conf [' Servers '][0][' slony_support '] = false;
- Specify the location of the Slony SQL script (Slony1_base.sql directory, and so on), and do not include the trailing slash
- $conf [' Servers '][0][' slony_sql '] = '/usr/share/pgsql ';
- Second example server (PostgreSQL for Windows)
- $conf [' Servers '][1][' desc '] = ' Test Server ';
- $conf [' Servers '][1][' host '] = ' 127.0.0.1 ';
- $conf [' Servers '][1][' port '] = 5432;
- $conf [' Servers '][1][' sslmode '] = ' allow ';
- $conf [' Servers '][1][' defaultdb '] = ' template1 ';
- $conf [' Servers '][1][' pg_dump_path '] = ' c:\\program Files\\postgresql\\8.0\\bin\\pg_dump.exe ';
- $conf [' Servers '][1][' pg_dumpall_path '] = ' c:\\program Files\\postgresql\\8.0\\bin\\pg_dumpall.exe ';
- $conf [' Servers '][1][' slony_support '] = false;
- $conf [' Servers '][1][' slony_sql '] = ' c:\\program Files\\postgresql\\8.0\\share ';
- The default language, for example: ' English ', ' Chinese-sim-utf8 ', ' chinese-tr ', see the lang/directory for all available languages.
- If you set it to ' auto ' (the default), it will be selected based on your browser's preferences.
- $conf [' default_lang '] = ' auto ';
- Auto-complete lists foreign key options that use AJAX technology to interact on the Insert field.
- Currently it can only work on a single field foreign key. You can control its behavior with the following settings:
- ' Default on ' enabled auto-complete
- ' Default off ' allows auto-completion, but not enabled by default
- ' Disable ' completely disables this feature
- $conf [' autocomplete '] = ' default on ';
- Do you use secure login?
- If this is set to true, then login without a password will be rejected by Phppgadmin.
- Similarly, logging in using one of the users (Pgsql, Postgres, root, Administrator) will also be rejected.
- You can set this to false only if you understand how to change pg_hba.conf to enforce a password-protected local link.
- $conf [' extra_login_security '] = true;
- Do you want to show only the databases owned by the logged-on user?
- Note: This is simply a matter of hiding the other databases in the list.
- It does not prevent users from using other methods to access other databases (such as running ' SELECT * from Pg_database ')
- $conf [' owned_only '] = false;
- Do you want to show comments for an object?
- Database annotations are very useful, but they do take up a lot of interface space.
- $conf [' show_comments '] = true;
- Do you want to display the Advanced object?
- Set this to true to show types, operators conversions, languages, casts
- These objects rarely need to be managed and often mess up the interface.
- $conf [' show_advanced '] = false;
- Do you want to display the system object?
- $conf [' show_system '] = false;
- Do you want to display the reports feature?
- In order for this feature to work properly, you must install the reports database as instructed by the install file.
- $conf [' show_reports '] = true;
- Databases and tables for reports
- $conf [' reports_db '] = ' phppgadmin ';
- $conf [' reports_schema '] = ' public ';
- $conf [' reports_table '] = ' ppa_reports ';
- Do you only show the reports owned by the logged-on user?
- Note: It does not prevent users from using other methods to access other reports databases.
- $conf [' owned_reports_only '] = false;
- Minimum length of password to allow user to set
- $conf [' min_password_length '] = 1;
- Pixel width of the left frame (Object Browser)
- $conf [' left_width '] = 200;
- What kind of interface style do you use?
- $conf [' theme '] = ' default ';
- Do you want the OID to be displayed while browsing the table?
- $conf [' show_oids '] = false;
- The maximum number of rows displayed per page when browsing a collection of records
- $conf [' max_rows '] = 30;
- Maximum number of characters per field displayed by default when browsing
- $conf [' max_chars '] = 50;
- Do you want to send XHTML headers?
- $conf [' use_xhtml_strict '] = false;
- Base URL for PostgreSQL document
- If the presence '%s ' will be replaced by the PostgreSQL version number (7, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3)
- $conf [' help_base '] = ' http://www.postgresql.org/docs/%s/interactive/';
- /*****************************************
- * !! Please do not modify the content after the bank!! *
- *****************************************/
- $conf [' version '] = 19;
- ?>
Copy Code |