Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: RELEASE_3_4_0
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.429 kB
<?php
/**
* URL redirector to avoid leaking Referer with some sensitive information.
*/
define('PMA_MINIMUM_COMMON', TRUE);
/**
* Gets core libraries and defines some variables
*/
require_once './libraries/common.inc.php';
if (empty($GLOBALS['url']) || ! preg_match('/^https?:\/\/[^\n\r]*$/', $GLOBALS['url'])) {
header('Location: ' . $cfg['PmaAbsoluteUri']);
} else {
header('Location: ' . $GLOBALS['url']);
}
?>
Jump to Line
Something went wrong with that request. Please try again.