config.inc.php3:
- Added comments about what many of the configuration variables do - Replaced multiple spaces with tabs for alignment
This commit is contained in:
@@ -5,6 +5,11 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2001-08-17 Robin Johnson <robbat2@orbis-terrarum.net>
|
||||||
|
* config.inc.php3
|
||||||
|
- Added comments about what many of the configuration variables do
|
||||||
|
- Replaced multiple spaces with tabs for alignment
|
||||||
|
|
||||||
2001-08-17 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
2001-08-17 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
* lang/polish.inc.php3: updated thanks to
|
* lang/polish.inc.php3: updated thanks to
|
||||||
Jakub Wilk <ubanus@users.sourceforge.net>.
|
Jakub Wilk <ubanus@users.sourceforge.net>.
|
||||||
|
118
config.inc.php3
118
config.inc.php3
@@ -29,67 +29,67 @@
|
|||||||
*/
|
*/
|
||||||
// The $cfgServers array starts with $cfgServers[1]. Do not use $cfgServers[0].
|
// The $cfgServers array starts with $cfgServers[1]. Do not use $cfgServers[0].
|
||||||
// You can disable a server config entry by setting host to ''.
|
// You can disable a server config entry by setting host to ''.
|
||||||
$cfgServers[1]['host'] = 'localhost'; // MySQL hostname
|
$cfgServers[1]['host'] = 'localhost'; // MySQL hostname
|
||||||
$cfgServers[1]['port'] = ''; // MySQL port - leave blank for default port
|
$cfgServers[1]['port'] = ''; // MySQL port - leave blank for default port
|
||||||
$cfgServers[1]['adv_auth'] = FALSE; // Use advanced authentication?
|
$cfgServers[1]['adv_auth'] = FALSE; // Use advanced authentication?
|
||||||
$cfgServers[1]['stduser'] = ''; // MySQL standard user (only needed with advanced auth)
|
$cfgServers[1]['stduser'] = ''; // MySQL standard user (only needed with advanced auth)
|
||||||
$cfgServers[1]['stdpass'] = ''; // MySQL standard password (only needed with advanced auth)
|
$cfgServers[1]['stdpass'] = ''; // MySQL standard password (only needed with advanced auth)
|
||||||
$cfgServers[1]['user'] = 'root'; // MySQL user (only needed with basic auth)
|
$cfgServers[1]['user'] = 'root'; // MySQL user (only needed with basic auth)
|
||||||
$cfgServers[1]['password'] = ''; // MySQL password (only needed with basic auth)
|
$cfgServers[1]['password'] = ''; // MySQL password (only needed with basic auth)
|
||||||
$cfgServers[1]['only_db'] = ''; // If set to a db-name, only this db is accessible
|
$cfgServers[1]['only_db'] = ''; // If set to a db-name, only this db is accessible
|
||||||
$cfgServers[1]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
|
$cfgServers[1]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
|
||||||
$cfgServers[1]['bookmarkdb'] = ''; // Bookmark db - leave blank for no bookmark support
|
$cfgServers[1]['bookmarkdb'] = ''; // Bookmark db - leave blank for no bookmark support
|
||||||
$cfgServers[1]['bookmarktable'] = ''; // Bookmark table - leave blank for no bookmark support
|
$cfgServers[1]['bookmarktable'] = ''; // Bookmark table - leave blank for no bookmark support
|
||||||
|
|
||||||
$cfgServers[2]['host'] = '';
|
$cfgServers[2]['host'] = '';
|
||||||
$cfgServers[2]['port'] = '';
|
$cfgServers[2]['port'] = '';
|
||||||
$cfgServers[2]['adv_auth'] = FALSE;
|
$cfgServers[2]['adv_auth'] = FALSE;
|
||||||
$cfgServers[2]['stduser'] = '';
|
$cfgServers[2]['stduser'] = '';
|
||||||
$cfgServers[2]['stdpass'] = '';
|
$cfgServers[2]['stdpass'] = '';
|
||||||
$cfgServers[2]['user'] = 'root';
|
$cfgServers[2]['user'] = 'root';
|
||||||
$cfgServers[2]['password'] = '';
|
$cfgServers[2]['password'] = '';
|
||||||
$cfgServers[2]['only_db'] = '';
|
$cfgServers[2]['only_db'] = '';
|
||||||
$cfgServers[2]['verbose'] = '';
|
$cfgServers[2]['verbose'] = '';
|
||||||
$cfgServers[2]['bookmarkdb'] = '';
|
$cfgServers[2]['bookmarkdb'] = '';
|
||||||
$cfgServers[2]['bookmarktable'] = '';
|
$cfgServers[2]['bookmarktable'] = '';
|
||||||
|
|
||||||
$cfgServers[3]['host'] = '';
|
$cfgServers[3]['host'] = '';
|
||||||
$cfgServers[3]['port'] = '';
|
$cfgServers[3]['port'] = '';
|
||||||
$cfgServers[3]['adv_auth'] = FALSE;
|
$cfgServers[3]['adv_auth'] = FALSE;
|
||||||
$cfgServers[3]['stduser'] = '';
|
$cfgServers[3]['stduser'] = '';
|
||||||
$cfgServers[3]['stdpass'] = '';
|
$cfgServers[3]['stdpass'] = '';
|
||||||
$cfgServers[3]['user'] = 'root';
|
$cfgServers[3]['user'] = 'root';
|
||||||
$cfgServers[3]['password'] = '';
|
$cfgServers[3]['password'] = '';
|
||||||
$cfgServers[3]['only_db'] = '';
|
$cfgServers[3]['only_db'] = '';
|
||||||
$cfgServers[3]['verbose'] = '';
|
$cfgServers[3]['verbose'] = '';
|
||||||
$cfgServers[3]['bookmarkdb'] = '';
|
$cfgServers[3]['bookmarkdb'] = '';
|
||||||
$cfgServers[3]['bookmarktable'] = '';
|
$cfgServers[3]['bookmarktable'] = '';
|
||||||
|
|
||||||
// If you have more than one server configured, you can set $cfgServerDefault
|
// If you have more than one server configured, you can set $cfgServerDefault
|
||||||
// to any one of them to autoconnect to that server when phpMyAdmin is started,
|
// to any one of them to autoconnect to that server when phpMyAdmin is started,
|
||||||
// or set it to 0 to be given a list of servers without logging in
|
// or set it to 0 to be given a list of servers without logging in
|
||||||
// If you have only one server configured, $cfgServerDefault *MUST* be
|
// If you have only one server configured, $cfgServerDefault *MUST* be
|
||||||
// set to that server.
|
// set to that server.
|
||||||
$cfgServerDefault = 1; // Default server (0 = no default server)
|
$cfgServerDefault = 1; // Default server (0 = no default server)
|
||||||
$cfgServer = '';
|
$cfgServer = '';
|
||||||
unset($cfgServers[0]);
|
unset($cfgServers[0]);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Other core phpMyAdmin settings
|
* Other core phpMyAdmin settings
|
||||||
*/
|
*/
|
||||||
$cfgConfirm = TRUE;
|
$cfgConfirm = TRUE; // confirm 'DROP TABLE' & 'DROP DATABASE'
|
||||||
$cfgPersistentConnections = FALSE;
|
$cfgPersistentConnections = FALSE; // use persistent connections to MySQL database
|
||||||
$cfgShowBlob = FALSE;
|
$cfgShowBlob = FALSE; // display blob field contents in browse mode
|
||||||
$cfgProtectBlob = FALSE;
|
$cfgProtectBlob = FALSE; // disallow editing of blob fields in edit mode
|
||||||
$cfgShowSQL = TRUE;
|
$cfgShowSQL = TRUE; // show SQL queries as run
|
||||||
$cfgSkipLockedTables = FALSE; // mark used tables, make possible to show
|
$cfgSkipLockedTables = FALSE; // mark used tables, make possible to show
|
||||||
// locked tables (since MySQL 3.23.30)
|
// locked tables (since MySQL 3.23.30)
|
||||||
$cfgMaxRows = 30;
|
$cfgMaxRows = 30; // maximum number of rows to display in browse mode
|
||||||
$cfgOrder = 'ASC';
|
$cfgOrder = 'ASC'; // default for 'ORDER BY' clause
|
||||||
$cfgOBGzip = TRUE; // GZIP output buffering
|
$cfgOBGzip = TRUE; // GZIP output buffering
|
||||||
$cfgGZipDump = TRUE; // Allow the use of gzip/bzip compression
|
$cfgGZipDump = TRUE; // Allow the use of gzip/bzip compression
|
||||||
$cfgBZipDump = TRUE; // for dump files
|
$cfgBZipDump = TRUE; // for dump files
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -103,9 +103,9 @@ $cfgManualBase = 'http://www.mysql.com/documentation/mysql/bychapter';
|
|||||||
* Language settings
|
* Language settings
|
||||||
*/
|
*/
|
||||||
// Default language to use, if not browser-defined or user-defined
|
// Default language to use, if not browser-defined or user-defined
|
||||||
$cfgDefaultLang = 'en';
|
$cfgDefaultLang = 'en';
|
||||||
// Force: always use this language - must be defined in select_lang.inc.php3
|
// Force: always use this language - must be defined in select_lang.inc.php3
|
||||||
// $cfgLang = 'en';
|
// $cfgLang = 'en';
|
||||||
// Loads language file
|
// Loads language file
|
||||||
require('./select_lang.inc.php3');
|
require('./select_lang.inc.php3');
|
||||||
|
|
||||||
@@ -113,16 +113,16 @@ require('./select_lang.inc.php3');
|
|||||||
/**
|
/**
|
||||||
* Customization & design
|
* Customization & design
|
||||||
*/
|
*/
|
||||||
$cfgBorder = 0;
|
$cfgBorder = 0; // border width on tables
|
||||||
$cfgThBgcolor = '#D3DCE3';
|
$cfgThBgcolor = '#D3DCE3'; // table header row colour
|
||||||
$cfgBgcolorOne = '#CCCCCC';
|
$cfgBgcolorOne = '#CCCCCC'; // table data row colour
|
||||||
$cfgBgcolorTwo = '#DDDDDD';
|
$cfgBgcolorTwo = '#DDDDDD'; // table data row colour, alternate
|
||||||
$cfgTextareaCols = 40;
|
$cfgTextareaCols = 40; // textarea size (columns) in edit mode
|
||||||
$cfgTextareaRows = 7;
|
$cfgTextareaRows = 7; // textarea size (rows) in edit mode
|
||||||
$cfgLimitChars = 50; // max field data length in browse mode
|
$cfgLimitChars = 50; // max field data length in browse mode
|
||||||
$cfgModifyDeleteAtLeft = TRUE;
|
$cfgModifyDeleteAtLeft = TRUE; // show edit/delete links on left side of browse
|
||||||
$cfgModifyDeleteAtRight = FALSE;
|
$cfgModifyDeleteAtRight = FALSE; // show edit/delete links on right side of browse
|
||||||
$cfgLeftWidth = 150; // left frame width
|
$cfgLeftWidth = 150; // left frame width
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user