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

index 272b2f9f29fb8fb8e0c21b4c4071aa73324e4f0d..257a9c48487428679ea1ee8ce8659739a68dd3c9 100644 (file)
@@ -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;
This page took 0.083891 seconds and 4 git commands to generate.