]> git.pld-linux.org Git - packages/php.git/blobdiff - php-mail.patch
switch off default_php, th will use virtual packages for php-* names
[packages/php.git] / php-mail.patch
index 5881c7519a61ddfdcf6f1c5e47ff3da98a2b479d..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;
@@ -79,6 +79,6 @@
 +                      }
 +              }
 +
-               if (headers != NULL) {
-                       fprintf(sendmail, "%s\n", headers);
+               if (hdr != NULL) {
+                       fprintf(sendmail, "%s\n", hdr);
                }
This page took 0.025088 seconds and 4 git commands to generate.