-
- /**
- * This is the configuration center of phpPgAdmin. Users need to modify the settings here according to their actual conditions.
- *
- * $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 create as many such servers as you like, with the index starting from zero and incrementing.
- // The server name displayed on the login screen
- $conf['servers'][0]['desc'] = 'PostgreSQL';
- // The host name or IP address of the server. For UNIX domain socket use '' .
- // Use 'localhost' for local TCP/IP connections.
- $conf['servers'][0]['host'] = '';
- // Server database connection port (5432 is the default port of PostgreSQL)
- $conf['servers'][0]['port '] = 5432;
- // SSL link options: disable, allow, prefer, require
- $conf['servers'][0]['sslmode'] = 'allow ';
- // Change the default database to connect to only when unable to connect to template1.
- // For PostgreSQL 8.1 or above servers, you need to set this to 'postgres'
- $conf['servers'][0]['defaultdb'] = 'template1';
- // Specify the database dump tool path of. 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 ';
- // Using Slony (www.slony.info) support?
- $conf['servers'][0]['slony_support'] = false;
- // Specify the location of the Slony SQL script (the directory where slony1_base.sql is located, etc.), 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';
- //Default language, such as: 'english', 'chinese-sim-utf8', 'chinese-tr ' , see the lang/ directory for all available languages.
- // If you set it to 'auto' (default), the selection will be based on the browser's preferences.
- $conf['default_lang'] = 'auto';
- // Autocomplete listed foreign key options interactively on the inserted field using ajax technology.
- // Currently it only works on single field foreign keys. You can control its behavior with the following settings:
- // 'default on' enables autocomplete by default
- // 'default off' allows autocomplete, but disables it by default
- // 'disable' disables it completely
- $ conf['autocomplete'] = 'default on';
- // Do you want to use secure login?
- // If this is set to true, logging in without a password will be rejected by phpPgAdmin.
- // Similarly, logging in using one of the (pgsql, postgres, root, administrator) users will also be rejected.
- // Only set this to false if you understand how to change pg_hba.conf to force password protection of local links.
- $conf['extra_login_security'] = true;
- // Do you want to display only the databases owned by the logged in user?
- // Note: This simply hides 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;
- // Whether to display the object's comments?
- // Database annotations are very useful, but they do take up a lot of interface space.
- $conf['show_comments'] = true;
- // Show "advanced" objects?
- // Setting this to true will show types, operators conversions, languages, casts
- // These objects rarely require management and often clutter the interface.
- $conf['show_advanced'] = false;
- // Whether to display the "system" object?
- $conf['show_system'] = false;
- // Whether to display reports feature?
- // In order for this feature to work properly, you must install the reports database following the instructions in the INSTALL file.
- $conf['show_reports'] = true;
- // Database and tables used for reports
- $conf['reports_db'] = 'phppgadmin';
- $conf['reports_schema'] = 'public';
- $conf ['reports_table'] = 'ppa_reports';
- // Do you want to display only the reports owned by logged in users?
- // Note: It does not prevent users from using other methods to access other reports databases.
- $conf['owned_reports_only'] = false;
- // Minimum length of passwords allowed to be set by the user
- $conf['min_password_length'] = 1;
- // Pixel width of the left frame (Object Browser)
- $conf ['left_width'] = 200;
- // Which interface style to use?
- $conf['theme'] = 'default';
- // Whether to display OID when browsing the table?
- $conf['show_oids'] = false;
- // The maximum number of rows displayed on each page when browsing the record collection
- $conf['max_rows'] = 30;
- // The default maximum number of characters displayed in each field when browsing Number
- $conf['max_chars'] = 50;
- // Send XHTML header?
- $conf['use_xhtml_strict'] = false;
- // Base URL for PostgreSQL documentation
- // If '%s' is present, it 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 this line! ! *
- *****************************************/
- $conf['version' ] = 19;
- ?>
Copy code
|