编程语言
首页 > 编程语言> > 如何在phpMyAdmin中为每个服务器创建不同的主题?

如何在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.

标签:php,phpmyadmin,skinning
来源: https://codeday.me/bug/20190701/1343846.html