AnonSec Team
Server IP : 127.0.0.1  /  Your IP : 127.0.0.1
Web Server : Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3
System : Windows NT WIN-R7LTCC7BPLI 6.3 build 9200 (Windows Server 2012 R2 Datacenter Edition) i586
User : GerbangSIPAD ( 0)
PHP Version : 5.6.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF
Directory (0777) :  C:/xampp5/phpMyAdmin/libraries/gis/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : C:/xampp5/phpMyAdmin/libraries/gis/../server_common.inc.php
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * Shared code for server pages
 *
 * @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_URL_getCommon($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 = $GLOBALS['dbi']->isSuperuser();

// now, select the mysql db
if ($is_superuser && ! PMA_DRIZZLE) {
    $GLOBALS['dbi']->selectDb('mysql', $userlink);
}

PMA_Util::checkParameters(
    array('is_superuser', 'url_query'), false
);

/**
 * shared functions for server page
 */
require_once './libraries/server_common.lib.php';

?>

AnonSec - 2021