summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rwxr-xr-xprogram/include/iniset.php2
-rw-r--r--program/include/rcube_smtp.inc4
2 files changed, 2 insertions, 4 deletions
diff --git a/program/include/iniset.php b/program/include/iniset.php
index 4b8798526..8905161d2 100755
--- a/program/include/iniset.php
+++ b/program/include/iniset.php
@@ -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
diff --git a/program/include/rcube_smtp.inc b/program/include/rcube_smtp.inc
index 77195e96f..ef84b031f 100644
--- a/program/include/rcube_smtp.inc
+++ b/program/include/rcube_smtp.inc
@@ -25,10 +25,6 @@
* @package Mail
*/
-// include required PEAR classes
-require_once('Net/SMTP.php');
-
-
// define headers delimiter
define('SMTP_MIME_CRLF', "\r\n");