1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-07 07:06:45 +02:00

Don't shorten $http_response_header

This commit is contained in:
Jakub Vrana
2014-01-08 08:45:05 -08:00
parent 184273750a
commit 5444647f61
3 changed files with 5 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ function short_identifier($number, $chars) {
// based on http://latrine.dgx.cz/jak-zredukovat-php-skripty
function php_shrink($input) {
global $VERSION;
$special_variables = array_flip(array('$this', '$GLOBALS', '$_GET', '$_POST', '$_FILES', '$_COOKIE', '$_SESSION', '$_SERVER'));
$special_variables = array_flip(array('$this', '$GLOBALS', '$_GET', '$_POST', '$_FILES', '$_COOKIE', '$_SESSION', '$_SERVER', '$http_response_header'));
$short_variables = array();
$shortening = true;
$tokens = token_get_all($input);