[ Index ]

MailPress 7.2

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/composer/vendor/swiftmailer/swiftmailer/lib/ -> preferences.php (source)

   1  <?php
   2  
   3  /****************************************************************************/
   4  /*                                                                          */
   5  /* YOU MAY WISH TO MODIFY OR REMOVE THE FOLLOWING LINES WHICH SET DEFAULTS  */
   6  /*                                                                          */
   7  /****************************************************************************/
   8  
   9  $preferences = Swift_Preferences::getInstance();
  10  
  11  // Sets the default charset so that setCharset() is not needed elsewhere
  12  $preferences->setCharset('utf-8');
  13  
  14  // Without these lines the default caching mechanism is "array" but this uses a lot of memory.
  15  // If possible, use a disk cache to enable attaching large attachments etc.
  16  // You can override the default temporary directory by setting the TMPDIR environment variable.
  17  if (@is_writable($tmpDir = sys_get_temp_dir())) {
  18      $preferences->setTempDir($tmpDir)->setCacheType('disk');
  19  }


Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1