|
| 1 | +<?php |
| 2 | + |
| 3 | + /** |
| 4 | + * Central phpPgAdmin configuration. As a user you may modify the |
| 5 | + * settings here for your particular configuration. |
| 6 | + * |
| 7 | + * $Id: config.inc.php-dist,v 1.55 2008/02/18 21:10:31 xzilla Exp $ |
| 8 | + */ |
| 9 | + |
| 10 | + // An example server. Create as many of these as you wish, |
| 11 | + // indexed from zero upwards. |
| 12 | + |
| 13 | + // Display name for the server on the login screen |
| 14 | + $conf['servers'][0]['desc'] = 'PostgreSQL'; |
| 15 | + |
| 16 | + // Hostname or IP address for server. Use '' for UNIX domain socket. |
| 17 | + // use 'localhost' for TCP/IP connection on this computer |
| 18 | + $conf['servers'][0]['host'] = 'localhost'; |
| 19 | + |
| 20 | + // Database port on server (5432 is the PostgreSQL default) |
| 21 | + $conf['servers'][0]['port'] = 5432; |
| 22 | + |
| 23 | + // Database SSL mode |
| 24 | + // Possible options: disable, allow, prefer, require |
| 25 | + // To require SSL on older servers use option: legacy |
| 26 | + // To ignore the SSL mode, use option: unspecified |
| 27 | + $conf['servers'][0]['sslmode'] = 'allow'; |
| 28 | + |
| 29 | + // Change the default database only if you cannot connect to template1. |
| 30 | + // For a PostgreSQL 8.1+ server, you can set this to 'postgres'. |
| 31 | + $conf['servers'][0]['defaultdb'] = 'template1'; |
| 32 | + |
| 33 | + // Specify the path to the database dump utilities for this server. |
| 34 | + // You can set these to '' if no dumper is available. |
| 35 | + $conf['servers'][0]['pg_dump_path'] = '/usr/bin/pg_dump'; |
| 36 | + $conf['servers'][0]['pg_dumpall_path'] = '/usr/bin/pg_dumpall'; |
| 37 | + |
| 38 | + // Example for a second server (PostgreSQL for Windows) |
| 39 | + //$conf['servers'][1]['desc'] = 'Test Server'; |
| 40 | + //$conf['servers'][1]['host'] = '127.0.0.1'; |
| 41 | + //$conf['servers'][1]['port'] = 5432; |
| 42 | + //$conf['servers'][1]['sslmode'] = 'allow'; |
| 43 | + //$conf['servers'][1]['defaultdb'] = 'template1'; |
| 44 | + //$conf['servers'][1]['pg_dump_path'] = 'C:\\Program Files\\PostgreSQL\\8.0\\bin\\pg_dump.exe'; |
| 45 | + //$conf['servers'][1]['pg_dumpall_path'] = 'C:\\Program Files\\PostgreSQL\\8.0\\bin\\pg_dumpall.exe'; |
| 46 | + |
| 47 | + |
| 48 | + /* Groups definition */ |
| 49 | + /* Groups allow administrators to logicaly group servers together under |
| 50 | + * group nodes in the left browser tree |
| 51 | + * |
| 52 | + * The group '0' description |
| 53 | + */ |
| 54 | + //$conf['srv_groups'][0]['desc'] = 'group one'; |
| 55 | + |
| 56 | + /* Add here servers indexes belonging to the group '0' seperated by comma */ |
| 57 | + //$conf['srv_groups'][0]['servers'] = '0,1,2'; |
| 58 | + |
| 59 | + /* A server can belong to multi groups. Here server 1 is referenced in both |
| 60 | + * 'group one' and 'group two'*/ |
| 61 | + //$conf['srv_groups'][1]['desc'] = 'group two'; |
| 62 | + //$conf['srv_groups'][1]['servers'] = '3,1'; |
| 63 | + |
| 64 | + /* A group can be nested in one or more existing groups using the 'parents' |
| 65 | + * parameter. Here the group 'group three' contains only one server and will |
| 66 | + * appear as a subgroup in both 'group one' and 'group two': |
| 67 | + */ |
| 68 | + //$conf['srv_groups'][2]['desc'] = 'group three'; |
| 69 | + //$conf['srv_groups'][2]['servers'] = '4'; |
| 70 | + //$conf['srv_groups'][2]['parents'] = '0,1'; |
| 71 | + |
| 72 | + /* Warning: Only groups with no parents appears at the root of the tree. */ |
| 73 | + |
| 74 | + |
| 75 | + // Default language. E.g.: 'english', 'polish', etc. See lang/ directory |
| 76 | + // for all possibilities. If you specify 'auto' (the default) it will use |
| 77 | + // your browser preference. |
| 78 | + $conf['default_lang'] = 'auto'; |
| 79 | + |
| 80 | + // AutoComplete uses AJAX interaction to list foreign key values |
| 81 | + // on insert fields. It currently only works on single column |
| 82 | + // foreign keys. You can choose one of the following values: |
| 83 | + // 'default on' enables AutoComplete and turns it on by default. |
| 84 | + // 'default off' enables AutoComplete but turns it off by default. |
| 85 | + // 'disable' disables AutoComplete. |
| 86 | + $conf['autocomplete'] = 'default on'; |
| 87 | + |
| 88 | + // If extra login security is true, then logins via phpPgAdmin with no |
| 89 | + // password or certain usernames (pgsql, postgres, root, administrator) |
| 90 | + // will be denied. Only set this false once you have read the FAQ and |
| 91 | + // understand how to change PostgreSQL's pg_hba.conf to enable |
| 92 | + // passworded local connections. |
| 93 | + $conf['extra_login_security'] = false; |
| 94 | + |
| 95 | + // Only show owned databases? |
| 96 | + // Note: This will simply hide other databases in the list - this does |
| 97 | + // not in any way prevent your users from seeing other database by |
| 98 | + // other means. (e.g. Run 'SELECT * FROM pg_database' in the SQL area.) |
| 99 | + $conf['owned_only'] = false; |
| 100 | + |
| 101 | + // Display comments on objects? Comments are a good way of documenting |
| 102 | + // a database, but they do take up space in the interface. |
| 103 | + $conf['show_comments'] = true; |
| 104 | + |
| 105 | + // Display "advanced" objects? Setting this to true will show |
| 106 | + // aggregates, types, operators, operator classes, conversions, |
| 107 | + // languages and casts in phpPgAdmin. These objects are rarely |
| 108 | + // administered and can clutter the interface. |
| 109 | + $conf['show_advanced'] = false; |
| 110 | + |
| 111 | + // Display "system" objects? |
| 112 | + $conf['show_system'] = false; |
| 113 | + |
| 114 | + // Minimum length users can set their password to. |
| 115 | + $conf['min_password_length'] = 1; |
| 116 | + |
| 117 | + // Width of the left frame in pixels (object browser) |
| 118 | + $conf['left_width'] = 200; |
| 119 | + |
| 120 | + // Which look & feel theme to use |
| 121 | + $conf['theme'] = 'default'; |
| 122 | + |
| 123 | + // Show OIDs when browsing tables? |
| 124 | + $conf['show_oids'] = false; |
| 125 | + |
| 126 | + // Max rows to show on a page when browsing record sets |
| 127 | + $conf['max_rows'] = 30; |
| 128 | + |
| 129 | + // Max chars of each field to display by default in browse mode |
| 130 | + $conf['max_chars'] = 50; |
| 131 | + |
| 132 | + // Send XHTML strict headers? |
| 133 | + $conf['use_xhtml_strict'] = false; |
| 134 | + |
| 135 | + // Base URL for PostgreSQL documentation. |
| 136 | + // '%s', if present, will be replaced with the PostgreSQL version |
| 137 | + // (e.g. 8.4 ) |
| 138 | + $conf['help_base'] = 'http://www.postgresql.org/docs/%s/interactive/'; |
| 139 | + |
| 140 | + // Configuration for ajax scripts |
| 141 | + // Time in seconds. If set to 0, refreshing data using ajax will be disabled (locks and activity pages) |
| 142 | + $conf['ajax_refresh'] = 3; |
| 143 | + |
| 144 | + /** Plugins management |
| 145 | + * Add plugin names to the following array to activate them |
| 146 | + * Example: |
| 147 | + * $conf['plugins'] = array( |
| 148 | + * 'Example', |
| 149 | + * 'Slony' |
| 150 | + * ); |
| 151 | + */ |
| 152 | + $conf['plugins'] = array(); |
| 153 | + |
| 154 | + /***************************************** |
| 155 | + * Don't modify anything below this line * |
| 156 | + *****************************************/ |
| 157 | + |
| 158 | + $conf['version'] = 19; |
| 159 | + |
| 160 | +?> |
0 commit comments