[packages/php/PHP_5_4] autoglobal variables are available on demand by other code (so weren't available here). Request to m
arekm
arekm at pld-linux.org
Thu Mar 13 12:56:32 CET 2014
commit 2cf6b763778981d65fe9f9573454882271d6357f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Mar 13 12:56:30 2014 +0100
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 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;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/2cf6b763778981d65fe9f9573454882271d6357f
More information about the pld-cvs-commit
mailing list