Projekt

Obecné

Profil

Stáhnout (4.43 KB) Statistiky
| Větev: | Tag: | Revize:
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.44.2.1 2005/11/18 01:47:16 chriskl 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'] = '';
19

    
20
	// Database port on server (5432 is the PostgreSQL default)
21
	$conf['servers'][0]['port'] = 5432;
22

    
23
	// Change the default database only if you cannot connect to template1.
24
	// For a PostgreSQL 8.1 server, you need to set this to 'postgres'.
25
	$conf['servers'][0]['defaultdb'] = 'template1';
26

    
27
	// Specify the path to the database dump utilities for this server.
28
	// You can set these to '' if no dumper is available.
29
	$conf['servers'][0]['pg_dump_path'] = '/usr/bin/pg_dump';
30
	$conf['servers'][0]['pg_dumpall_path'] = '/usr/bin/pg_dumpall';
31

    
32
	// Slony (www.slony.info) support?
33
	$conf['servers'][0]['slony_support'] = false;
34
	// Specify the path to the Slony SQL scripts (where slony1_base.sql is located, etc.)
35
	// No trailing slash.
36
	$conf['servers'][0]['slony_sql'] = '/usr/share/pgsql';
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]['defaultdb'] = 'template1';
43
	//$conf['servers'][1]['pg_dump_path'] = 'C:\\Program Files\\PostgreSQL\\8.0\\bin\\pg_dump.exe';
44
	//$conf['servers'][1]['pg_dumpall_path'] = 'C:\\Program Files\\PostgreSQL\\8.0\\bin\\pg_dumpall.exe';
45
	//$conf['servers'][1]['slony_support'] = false;
46
	//$conf['servers'][1]['slony_sql'] = 'C:\\Program Files\\PostgreSQL\\8.0\\share';
47

    
48
	// Default language. Eg: 'english', 'polish', etc.  See lang/ directory
49
	// for all possibilities. If you specify 'auto' (the default) it will use 
50
	// your browser preference.
51
	$conf['default_lang'] = 'auto';
52
	
53
	// If extra login security is true, then logins via phpPgAdmin with no
54
	// password or certain usernames (pgsql, postgres, root, administrator)
55
	// will be denied. Only set this false once you have read the FAQ and
56
	// understand how to change PostgreSQL's pg_hba.conf to enable
57
	// passworded local connections.
58
	$conf['extra_login_security'] = true;
59

    
60
	// Only show owned databases?
61
	// Note: This will simply hide other databases in the list - this does
62
	// not in any way prevent your users from seeing other database by
63
	// other means. (eg. Run 'SELECT * FROM pg_database' in the SQL area.)
64
	$conf['owned_only'] = false;
65

    
66
	// Display comments on objects?  Comments are a good way of documenting
67
	// a database, but they do take up space in the interface.
68
	$conf['show_comments'] = true;
69

    
70
	// Display "advanced" objects?  Setting this to true will show types,
71
	// operators conversions, languages and casts in phpPgAdmin.  These
72
	// objects are rarely administered and can clutter the interface.
73
	$conf['show_advanced'] = false;
74

    
75
	// Display "system" objects?
76
	$conf['show_system'] = false;
77

    
78
	// Display reports feature?  For this feature to work, you must
79
	// install the reports database as explained in the INSTALL file.
80
	$conf['show_reports'] = true;
81

    
82
	// Only show owned reports?
83
	// Note: This does not prevent people from accessing other reports by
84
	// other means.
85
	$conf['owned_reports_only'] = false;
86

    
87
	// Minimum length users can set their password to.
88
	$conf['min_password_length'] = 1;
89

    
90
	// Width of the left frame in pixels (object browser)
91
	$conf['left_width'] = 200;
92
	
93
	// Which look & feel theme to use
94
	$conf['theme'] = 'default';
95
	
96
	// Show OIDs when browsing tables?
97
	$conf['show_oids'] = false;
98
	
99
	// Max rows to show on a page when browsing record sets
100
	$conf['max_rows'] = 30;
101

    
102
	// Max chars of each field to display by default in browse mode
103
	$conf['max_chars'] = 50;
104

    
105
	// Send XHTML headers?  Unless debugging, it's best to leave this off
106
	$conf['use_xhtml'] = false;
107

    
108
	// Base URL for PostgreSQL documentation.
109
	// '%s', if present, will be replaced with the PostgreSQL version
110
	// (7, 7.1, 7.2, 7.3, 7.4, or 8.0)
111
	$conf['help_base'] = 'http://www.postgresql.org/docs/%s/interactive/';
112
	
113
	/*****************************************
114
	 * Don't modify anything below this line *
115
	 *****************************************/
116

    
117
	$conf['version'] = 15;
118

    
119
?>
(2-2/2)