Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / usr / share / phpmyadmin / libraries / | server ip : 172.67.156.115 your ip : 172.70.100.14 H O M E |
Filename | /usr/share/phpmyadmin/libraries/server_common.inc.php |
Size | 1.1 kb |
Permission | rw-r--r-- |
Owner | root : root |
Create time | 27-Apr-2025 10:12 |
Last modified | 05-Dec-2013 01:44 |
Last accessed | 05-Jul-2025 20:18 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* @package PhpMyAdmin
*/
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
*/
$url_query = PMA_generate_common_url($db);
/**
* Defines the urls to return to in case of error in a sql statement
*/
$err_url = 'index.php' . $url_query;
/**
* @global boolean Checks for superuser privileges
*/
$is_superuser = PMA_isSuperuser();
// now, select the mysql db
if ($is_superuser && ! PMA_DRIZZLE) {
PMA_DBI_select_db('mysql', $userlink);
}
/**
* @global array binary log files
*/
$binary_logs = PMA_DRIZZLE
? null
: PMA_DBI_fetch_result(
'SHOW MASTER LOGS',
'Log_name',
null,
null,
PMA_DBI_QUERY_STORE
);
PMA_Util::checkParameters(
array('is_superuser', 'url_query'), false
);
?>
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* @package PhpMyAdmin
*/
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
*/
$url_query = PMA_generate_common_url($db);
/**
* Defines the urls to return to in case of error in a sql statement
*/
$err_url = 'index.php' . $url_query;
/**
* @global boolean Checks for superuser privileges
*/
$is_superuser = PMA_isSuperuser();
// now, select the mysql db
if ($is_superuser && ! PMA_DRIZZLE) {
PMA_DBI_select_db('mysql', $userlink);
}
/**
* @global array binary log files
*/
$binary_logs = PMA_DRIZZLE
? null
: PMA_DBI_fetch_result(
'SHOW MASTER LOGS',
'Log_name',
null,
null,
PMA_DBI_QUERY_STORE
);
PMA_Util::checkParameters(
array('is_superuser', 'url_query'), false
);
?>