- support PEAR::Net_* in __autoload()

release-0.6
alecpl 15 years ago
parent 35749f91d2
commit 70306a4c75

@ -83,12 +83,14 @@ function __autoload($classname)
$filename = preg_replace(
array('/MDB2_(.+)/',
'/Mail_(.+)/',
'/Net_(.+)/',
'/^html_.+/',
'/^utf8$/',
'/html2text/'
),
array('MDB2/\\1',
'Mail/\\1',
'Net/\\1',
'html',
'utf8.class',
'lib/html2text' // see #1485505

@ -25,10 +25,6 @@
* @package Mail
*/
// include required PEAR classes
require_once('Net/SMTP.php');
// define headers delimiter
define('SMTP_MIME_CRLF', "\r\n");

Loading…
Cancel
Save