]> git.pld-linux.org Git - packages/php.git/commitdiff
autoglobal variables are available on demand by other code (so weren't available... auto/th/php55-5.5.10-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 13 Mar 2014 11:39:38 +0000 (12:39 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 13 Mar 2014 11:39:38 +0000 (12:39 +0100)
php-mail.patch

index 5a7919734df34618cccb41b7a4922e7c2b11f78c..e541727105ef89fb0a03b1483f49aba355b89770 100644 (file)
@@ -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;
This page took 0.058383 seconds and 4 git commands to generate.