phpPgAdmin profile parameter description Chinese version
- 2020-05-06 11:51:36
- OfStack
<?php
/**
* Here 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 $
*/
// A sample server. You can set up as many of these servers as you like, with the index increasing from zero.
// The name of the server displayed on the login screen
$conf['servers'][0]['desc'] = 'PostgreSQL';
// The hostname of the server or IP Address. for UNIX domain socket Please use the '' .
// For local TCP/IP Link please use 'localhost' .
$conf['servers'][0]['host'] = '';
// The database link port of the server (5432 is PostgreSQL Default port )
$conf['servers'][0]['port'] = 5432;
// SSL Link options : disable( ban ), allow( allow ), prefer( The preferred ), require( Must be )
$conf['servers'][0]['sslmode'] = 'allow';
// Change only when unable to connect to template1 When the default link database.
// for PostgreSQL 8.1 For the above version of server, you need to set this as 'postgres'
$conf['servers'][0]['defaultdb'] = 'template1';
// Specifies the path to the database dump tool. If no dump tool is available, set this to '' .
$conf['servers'][0]['pg_dump_path'] = '/usr/bin/pg_dump';
$conf['servers'][0]['pg_dumpall_path'] = '/usr/bin/pg_dumpall';
// use Slony (www.slony.info) Support?
$conf['servers'][0]['slony_support'] = false;
// The specified Slony SQL Script location (slony1_base.sql Directory and so on ) Do not include a 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';
// Default language, such as: 'english', 'chinese-sim-utf8', 'chinese-tr' , see lang/ Directory to get all available languages.
// If you set it to 'auto'( The default value ) , will be selected according to the browser's preferences.
$conf['default_lang'] = 'auto';
// Autocomplete use ajax List the foreign key options that the technique interacts with on the insert field.
// Currently it only works on single-field foreign keys. You can control its behavior with the following Settings:
// 'default on' Auto-complete is enabled by default
// 'default off' Autocomplete is allowed, but not enabled by default
// 'disable' Disable this feature completely
$conf['autocomplete'] = 'default on';
// Do you log in safely?
// So if I set this to zero true , then login without password will be phpPgAdmin To refuse.
// Again, using (pgsql, postgres, root, administrator) If one of the users logs in, it will be denied.
// Only after you understand how to change pg_hba.conf To force password protection for local links false .
$conf['extra_login_security'] = true;
// Do you display only the databases owned by the logged-in user?
// Note: this is simply hiding 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 display comments for an object?
// Database annotations are useful, but they do take up a lot of interface space.
$conf['show_comments'] = true;
// Whether or not shown " senior " Objects?
// This is set to true Will be displayed types, operators conversions, languages, casts
// These objects rarely need to be managed and often mess up the interface.
$conf['show_advanced'] = false;
// Whether or not shown " system " Objects?
$conf['show_system'] = false;
// Whether or not shown reports Feature?
// In order for this feature to work properly, you must follow the INSTALL Guide installation of files reports The database.
$conf['show_reports'] = true;
// Used for reports Database and tables
$conf['reports_db'] = 'phppgadmin';
$conf['reports_schema'] = 'public';
$conf['reports_table'] = 'ppa_reports';
// Whether to display only what the logged-in user has reports ?
// Note: it does not prevent the user from using other methods to access others reports The database.
$conf['owned_reports_only'] = false;
// The minimum length of a password that the user is allowed to set
$conf['min_password_length'] = 1;
// The pixel width of the left frame ( Object browser )
$conf['left_width'] = 200;
// Which interface style to use?
$conf['theme'] = 'default';
// Whether it is displayed while browsing the table OID ?
$conf['show_oids'] = false;
// The maximum number of rows per page when browsing a collection of records
$conf['max_rows'] = 30;
// The default maximum number of characters per field when browsing
$conf['max_chars'] = 50;
// Whether to send XHTML Head?
$conf['use_xhtml_strict'] = false;
// PostgreSQL Document benchmark URL
// If there is '%s' Will be PostgreSQL Version number instead (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 bank after the content!! *
*****************************************/
$conf['version'] = 19;
?>