commit 6131380a25e79b4eacb7c20360e061538ffb0ffd
Author: Arkadiusz MiĆkiewicz <[email protected]>
Date: Thu Mar 13 12:39:38 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 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;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/6131380a25e79b4eacb7c20360e061538ffb0ffd
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit