PHPMYADMIN配置[11]

[入库:2005年8月18日] [更新:2007年3月25日]

本文简介:选择自 yuguanglou 的 blog


/**
* pdf options
*/
$cfg['pdfpagesizes']        = array('a3', 'a4', 'a5', 'letter', 'legal');
$cfg['pdfdefaultpagesize']  = 'a4';-----pdf页默认大小


/**
* language and charset conversion settings
*/
// default language to use, if not browser-defined or user-defined
$cfg['defaultlang'] = 'en-iso-8859-1';-----如果想使phpmyadmin直接显示中文,这里填:zh

// force: always use this language - must be defined in
//        libraries/select_lang.lib.php
// $cfg['lang']     = 'en-iso-8859-1';
// default charset to use for recoding of mysql queries, does not take
// any effect when charsets recoding is switched off by
// $cfg['allowanywhererecoding'] or in language file
// (see $cfg['availablecharsets'] to possible choices, you can add your own)
$cfg['defaultcharset'] = 'iso-8859-1';-----默认的phpmyadmin语言,可设置为:gb2312


// allow charset recoding of mysql queries, must be also enabled in language
// file to make harder using other language files than unicode.
// default value is false to avoid problems on servers without the iconv
// extension and where dl() is not supported
$cfg['allowanywhererecoding'] = false;

// you can select here which functions will be used for charset conversion.
// possible values are:
//      auto   - automatically use available one (first is tested iconv, then
//               recode)
//      iconv  - use iconv or libiconv functions
//      recode - use recode_string function
$cfg['recodingengine'] = 'auto';

// specify some parameters for iconv used in charset conversion. see iconv
// documentation for details:
// [url]http://www.gnu.org/software/libi[/url] ... v/iconv_open.3.html
$cfg['iconvextraparams'] = '';

// available charsets for mysql conversion. currently contains all which could
// be found in lang/* files and few more.
// charsets will be shown in same order as here listed, so if you frequently
// use some of these move them to the top.
$cfg['availablecharsets'] = array(
    'iso-8859-1',
    'iso-8859-2',
    'iso-8859-3',
    'iso-8859-4',
    'iso-8859-5',
    'iso-8859-6',
    'iso-8859-7',
    'iso-8859-8',
    'iso-8859-9',
    'iso-8859-10',
    'iso-8859-11',
    'iso-8859-12',
    'iso-8859-13',
    'iso-8859-14',
    'iso-8859-15',
    'windows-1250',
    'windows-1251',
    'windows-1252',
    'windows-1257',
    'koi8-r',
    'big5',
    'gb2312',
    'utf-8',
    'utf-7',
    'x-user-defined',
    'euc-jp',
    'ks_c_5601-1987',
    'tis-620',
    'shift_jis'
);

// loads language file
require('./libraries/select_lang.lib.php');


/**
* customization & design -----页面格式设定,以内容较多,可自行根据注释详细设定,这里给出部分注释
*/
$cfg['leftwidth']           = 150;          // left frame width-----左侧框架宽度

$cfg['leftbgcolor']         = '#d0dce0';    // background color for the left frame-----框架左侧的背景颜色

$cfg['rightbgcolor']        = '#f5f5f5';    // background color for the right frame-----框架右侧的背景颜色

本文关键:PHPMYADMIN配置
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top