thomascube
2008-12-01 ffbf910df93d0a29fc8ea5a6fb0fa39e078fa77e
program/include/iniset.php
@@ -75,8 +75,18 @@
function __autoload($classname)
{
  $filename = preg_replace(
      array('/MDB2_(.+)/', '/Mail_(.+)/', '/^html_.+/', '/^utf8$/'),
      array('MDB2/\\1', 'Mail/\\1', 'html', 'utf8.class'),
      array('/MDB2_(.+)/',
           '/Mail_(.+)/',
       '/^html_.+/',
       '/^utf8$/',
       '/html2text/'
   ),
      array('MDB2/\\1',
           'Mail/\\1',
       'html',
       'utf8.class',
       'lib/html2text'   // see #1485505
   ),
      $classname
  );
  include_once $filename. '.php';