From e93c72d9a378903502fa51452d6db3fffc3a9b28 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 20 May 2010 10:41:59 +0000 Subject: - remove html2text hack from autoloader (don't need it anymore) --- program/include/iniset.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'program/include/iniset.php') diff --git a/program/include/iniset.php b/program/include/iniset.php index 3887fa5f3..6cbd55274 100755 --- a/program/include/iniset.php +++ b/program/include/iniset.php @@ -62,7 +62,7 @@ $include_path.= INSTALL_PATH . 'program/include' . PATH_SEPARATOR; $include_path.= ini_get('include_path'); if (set_include_path($include_path) === false) { - die('Fatal error: ini_set/set_include_path does not work.'); + die("Fatal error: ini_set/set_include_path does not work."); } ini_set('error_reporting', E_ALL&~E_NOTICE); @@ -74,7 +74,7 @@ ini_set('error_reporting', E_ALL&~E_NOTICE); // set internal encoding for mbstring extension if(extension_loaded('mbstring')) mb_internal_encoding(RCMAIL_CHARSET); - + /** * Use PHP5 autoload for dynamic class loading @@ -91,7 +91,6 @@ function rcube_autoload($classname) '/Net_(.+)/', '/^html_.+/', '/^utf8$/', - '/html2text/' ), array( 'MDB2/\\1', @@ -99,7 +98,6 @@ function rcube_autoload($classname) 'Net/\\1', 'html', 'utf8.class', - 'lib/html2text' // see #1485505 ), $classname ); -- cgit v1.2.3