设置
All configurable data is placed in config.inc.php
in phpMyAdmin’s toplevel directory. If this file does not exist, please refer to the 安装 section to create one. This file only needs to contain the parameters you want to change from their corresponding default value in libraries/config.default.php
(this file is not intended for changes).
参见
Examples 为示例配置
如果文件中缺少指令,则只需在文件中添加另一行。该文件用于覆盖默认值;如果您想使用默认值,则无需在此处添加行。
The parameters which relate to design (like colors) are placed in themes/themename/scss/_variables.scss
. You might also want to create config.footer.inc.php
and config.header.inc.php
files to add your site specific code to be included on start and end of each page.
注解
有些版本(如:Debian 或 Ubuntu)将 config.inc.php
放在 /etc/phpmyadmin
中而不是 phpMyAdmin 源代码中。
警告
Mac 用户需要注意若您的系统版本低于 Mac OS X,PHP 似乎不支持 Mac 式的换行符(\r
)。所以在保存您修改过的脚本之前请确保您设置了让文本编辑器使用 *nix 式的换行符(\n
)保存文件。