From 6131380a25e79b4eacb7c20360e061538ffb0ffd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Thu, 13 Mar 2014 12:39:38 +0100 Subject: [PATCH] autoglobal variables are available on demand by other code (so weren't available here). Request to make these variables available in this code. --- php-mail.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-mail.patch b/php-mail.patch index 5a79197..e541727 100644 --- a/php-mail.patch +++ b/php-mail.patch @@ -42,7 +42,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; -- 2.44.0