003 File Manager
Current Path:
/usr/local/www/sites/shared/phpmyadmin/libraries
usr
/
local
/
www
/
sites
/
shared
/
phpmyadmin
/
libraries
/
📁
..
📄
admin.php
(5.23 KB)
📄
advisory_rules.txt
(25.94 KB)
📁
certs
📄
check_user_privileges.inc.php
(838 B)
📁
classes
📄
common.inc.php
(13.53 KB)
📄
config.default.php
(68.56 KB)
📄
config.values.php
(10.6 KB)
📄
db_common.inc.php
(4.32 KB)
📄
db_table_exists.inc.php
(3.34 KB)
📁
dbi
📄
error.inc.php
(1.26 KB)
📄
hash.lib.php
(586 B)
📄
index.php
(8.46 KB)
📄
information_schema_relations.inc.php
(10.95 KB)
📄
input.php
(1.49 KB)
📄
language_stats.inc.php
(1.54 KB)
📄
mult_submits.inc.php
(10.71 KB)
📄
mysql_relations.inc.php
(5.12 KB)
📄
replication.inc.php
(4.34 KB)
📁
rte
📄
server_common.inc.php
(990 B)
📄
special_schema_links.inc.php
(17.47 KB)
📄
tbl_columns_definition_form.inc.php
(15.58 KB)
📄
tbl_common.inc.php
(1.22 KB)
📄
tbl_partition_definition.inc.php
(5.38 KB)
📄
user_preferences.inc.php
(2.25 KB)
📄
vendor_config.php
(1.88 KB)
Editing: server_common.inc.php
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Shared code for server pages * * @package PhpMyAdmin */ use PhpMyAdmin\Url; if (! defined('PHPMYADMIN')) { exit; } /** * Handles some variables that may have been sent by the calling script * Note: this can be called also from the db panel to get the privileges of * a db, in which case we want to keep displaying the tabs of * the Database panel */ if (empty($viewing_mode)) { $db = $table = ''; } /** * Set parameters for links */ $GLOBALS['url_query'] = Url::getCommon(); /** * Defines the urls to return to in case of error in a sql statement */ $err_url = 'index.php' . $GLOBALS['url_query']; /** * @global boolean Checks for superuser privileges */ $GLOBALS['is_grantuser'] = $GLOBALS['dbi']->isUserType('grant'); $GLOBALS['is_createuser'] = $GLOBALS['dbi']->isUserType('create'); // now, select the mysql db if ($GLOBALS['dbi']->isSuperuser()) { $GLOBALS['dbi']->selectDb('mysql'); }
Upload File
Create Folder