From: Arkadiusz Miƛkiewicz Date: Thu, 13 Mar 2014 11:56:30 +0000 (+0100) Subject: autoglobal variables are available on demand by other code (so weren't available... X-Git-Tag: auto/th/php54-5.4.26-2~6 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=2cf6b763778981d65fe9f9573454882271d6357f;p=packages%2Fphp.git autoglobal variables are available on demand by other code (so weren't available here). Request to make these variables available in this code. --- diff --git a/php-mail.patch b/php-mail.patch index 272b2f9..257a9c4 100644 --- a/php-mail.patch +++ b/php-mail.patch @@ -51,7 +51,7 @@ + if ((subject != NULL) && (strlen(subject)!=0)) { + fprintf(sendmail, "Subject: %s\n", subject); + } -+ ++ zend_is_auto_global(ZEND_STRL("_SERVER") TSRMLS_CC); + if (PG(http_globals)[TRACK_VARS_SERVER]) { + zval **remote_addr, **server_name, **server_port, + **script_name, **http_user_agent;