You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-28 07:41:55 +03:00
Respect ['ShowCreateDb'] in the navi panel
Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
committed by
Marc Delisle
parent
e2817dfdfd
commit
99dca5d7a6
@@ -29,7 +29,9 @@ class Node_Database_Container extends Node
|
||||
{
|
||||
parent::__construct($name, Node::CONTAINER);
|
||||
|
||||
if ($GLOBALS['is_create_db_priv']) {
|
||||
if ($GLOBALS['is_create_db_priv']
|
||||
&& $GLOBALS['cfg']['ShowCreateDb'] !== false
|
||||
) {
|
||||
$new = PMA_NodeFactory::getInstance(
|
||||
'Node', _pgettext('Create new database', 'New')
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user