]> git.joonet.de Git - adminer.git/commitdiff
Elasticsearch: Don't minimize $php_errormsg
authorJakub Vrana <jakub@vrana.cz>
Thu, 9 Jan 2014 20:37:10 +0000 (12:37 -0800)
committerJakub Vrana <jakub@vrana.cz>
Thu, 9 Jan 2014 20:37:10 +0000 (12:37 -0800)
compile.php

index a431645bd2ed0fb111eeb418daf254159388f11c..8e84dea25a869c2328e286ba6e0d8116b3dc038f 100755 (executable)
@@ -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', '$http_response_header'));
+       $special_variables = array_flip(array('$this', '$GLOBALS', '$_GET', '$_POST', '$_FILES', '$_COOKIE', '$_SESSION', '$_SERVER', '$http_response_header', '$php_errormsg'));
        $short_variables = array();
        $shortening = true;
        $tokens = token_get_all($input);