12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- use PhpMyAdmin\Url;
- if (! defined('PHPMYADMIN')) {
- exit;
- }
- if (empty($viewing_mode)) {
- $db = $table = '';
- }
- $GLOBALS['url_query'] = Url::getCommon();
- $err_url = 'index.php' . $GLOBALS['url_query'];
- $GLOBALS['is_grantuser'] = $GLOBALS['dbi']->isUserType('grant');
- $GLOBALS['is_createuser'] = $GLOBALS['dbi']->isUserType('create');
- if ($GLOBALS['dbi']->isSuperuser()) {
- $GLOBALS['dbi']->selectDb('mysql');
- }
|