3 * URL redirector to avoid leaking Referer with some sensitive information.
6 define('PMA_MINIMUM_COMMON', TRUE);
9 * Gets core libraries and defines some variables
11 require_once './libraries/common.inc.php';
13 if (empty($GLOBALS['url']) ||
! preg_match('/^https?:\/\/[^\n\r]*$/', $GLOBALS['url'])) {
14 header('Location: ' . $cfg['PmaAbsoluteUri']);
16 header('Location: ' . $GLOBALS['url']);