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

@ -1,2 +1,2 @@
<?php <?php
$VERSION = "4.0.0"; $VERSION = "4.0.1-dev";

View file

@ -1,3 +1,6 @@
Adminer 4.0.1-dev:
Fix compiled version of Elasticsearch
Adminer 4.0.0 (released 2014-01-08): Adminer 4.0.0 (released 2014-01-08):
Driver for SimpleDB, MongoDB and Elasticsearch Driver for SimpleDB, MongoDB and Elasticsearch
Highlight SQL in textareas Highlight SQL in textareas

View file

@ -168,7 +168,7 @@ function short_identifier($number, $chars) {
// based on http://latrine.dgx.cz/jak-zredukovat-php-skripty // based on http://latrine.dgx.cz/jak-zredukovat-php-skripty
function php_shrink($input) { function php_shrink($input) {
global $VERSION; 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(); $short_variables = array();
$shortening = true; $shortening = true;
$tokens = token_get_all($input); $tokens = token_get_all($input);