Changeset 901 for trunk/password.php


Ignore:
Timestamp:
Oct 18, 2005, 11:37:08 PM (19 years ago)
Author:
plg
Message:
  • bug 159 and 166 fixed: parameter "options" for mail() function disabled by default.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/password.php

    r866 r901  
    5353  $content = $infos;
    5454  $content.= "\n\n-- \nPhpWebGallery ".PHPWG_VERSION;
    55  
    56   return mail($to, $subject, $content, $headers, $options);
     55
     56  if ($conf['mail_options'])
     57  {
     58    return mail($to, $subject, $content, $headers, $options);
     59  }
     60  else
     61  {
     62    return mail($to, $subject, $content, $headers);
     63  }
    5764}
    5865
Note: See TracChangeset for help on using the changeset viewer.