Don't shorten $http_response_header
This commit is contained in:
parent
184273750a
commit
5444647f61
|
@ -1,2 +1,2 @@
|
|||
<?php
|
||||
$VERSION = "4.0.0";
|
||||
$VERSION = "4.0.1-dev";
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
Adminer 4.0.1-dev:
|
||||
Fix compiled version of Elasticsearch
|
||||
|
||||
Adminer 4.0.0 (released 2014-01-08):
|
||||
Driver for SimpleDB, MongoDB and Elasticsearch
|
||||
Highlight SQL in textareas
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue