在 phpMyAdmin 中 - 删除 'more settings' 选项
in phpMyAdmin - Removal of the 'more settings' option
我一直在努力隐藏用户访问 pma 配置设置的选项。到目前为止,我已经在 prefs_manage.php
中注释掉了以下代码部分
[代码]
/*
if (file_exists('setup/index.php')) {
// show only if setup script is available, allows to disable this message
// by simply removing setup directory
?>
<div class="group">
<h2><?php echo __('More settings') ?></h2>
<div class="group-cnt">
<?php
echo sprintf(
__(
'You can set more settings by modifying config.inc.php, eg. '
. 'by using %sSetup script%s.'
), '<a href="setup/index.php" target="_blank">', '</a>'
) . PMA_Util::showDocu('setup', 'setup-script');
?>
</div>
</div>
<?php
}
?>
</div>*/
这是我试图为其他用户 hide/disable 设置的快速照片。非常感谢!
我在 index.php
的代码中找到了这个
您可以简单地删除它或将其注释掉
// User preferences
/*
if ($server > 0) {
echo '<ul>';
PMA_printListItem(
PMA_Util::getImage('b_tblops.png') . " " . __('More settings'),
'li_user_preferences',
'prefs_manage.php' . $common_url_query,
null,
null,
null,
"no_bullets"
);
echo '</ul>';
}
echo '</div>';
echo '</div>';
*/
我一直在努力隐藏用户访问 pma 配置设置的选项。到目前为止,我已经在 prefs_manage.php
中注释掉了以下代码部分[代码]
/*
if (file_exists('setup/index.php')) {
// show only if setup script is available, allows to disable this message
// by simply removing setup directory
?>
<div class="group">
<h2><?php echo __('More settings') ?></h2>
<div class="group-cnt">
<?php
echo sprintf(
__(
'You can set more settings by modifying config.inc.php, eg. '
. 'by using %sSetup script%s.'
), '<a href="setup/index.php" target="_blank">', '</a>'
) . PMA_Util::showDocu('setup', 'setup-script');
?>
</div>
</div>
<?php
}
?>
</div>*/
这是我试图为其他用户 hide/disable 设置的快速照片。非常感谢!
我在 index.php
的代码中找到了这个您可以简单地删除它或将其注释掉
// User preferences
/*
if ($server > 0) {
echo '<ul>';
PMA_printListItem(
PMA_Util::getImage('b_tblops.png') . " " . __('More settings'),
'li_user_preferences',
'prefs_manage.php' . $common_url_query,
null,
null,
null,
"no_bullets"
);
echo '</ul>';
}
echo '</div>';
echo '</div>';
*/