微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何在phpMyAdmin中为每个服务器创建不同的主题?

有没有什么方法不主要重写PHPMyAdmin源代码,以便根据服务器选择不同的主题

我发现改变主题很容易,但它适用于所有服务器.

我想这样做的原因是,当我对生产执行查询时,它会在那里显示不同的颜色,我不会将它与dev上的查询混淆.

解决方法:

没试过这个,但显然你可以通过以下方式配置它:

Theme selection

On the Homepage, we can offer a theme
selector to users. Setting
$cfg[‘ThemeManager’] to TRUE (the
default) shows the selector: To help
choose a suitable theme, the color
palette icon next to Theme/Style
brings us screenshots of the available
themes. We can then click on take it
under the theme we want. The chosen
theme is remembered in a cookie. By
default, the remembered theme applies
to all servers we connect to. To make
PHPMyAdmin remember one theme per
MySQL server, we set
$cfg[‘ThemePerServer’] to TRUE.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐