Преглед на файлове

added user-agent check (from Masato Japanese patches)
(this has nothing to do with Japanese, just an enhancement)

stekkel преди 23 години
родител
ревизия
fdcfd2b03a
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      class/mime.class.php

+ 4 - 0
class/mime.class.php

@@ -169,9 +169,13 @@ class rfc822_header
 	case ('content-disposition'):
 	    $this->parseDisposition($value);
 	    break;    
+	case ('user-agent'):
 	case ('x-mailer'):
 	    $this->xmailer = $value;
 	    break;
+	case ('user-agent'):
+	    $this->xmailer = $value;
+	    break;
 	case ('x-priority'):
 	    $this->priority = $value;
 	    break;