Ignore:
Timestamp:
Oct 18, 2008 5:57:08 AM (5 years ago)
Author:
alec
Message:

#1485505: PHP bug (?) workaround for html2text class autoloading

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/iniset.php

    r1968 r1986  
    7676{ 
    7777  $filename = preg_replace( 
    78       array('/MDB2_(.+)/', '/Mail_(.+)/', '/^html_.+/', '/^utf8$/'), 
    79       array('MDB2/\\1', 'Mail/\\1', 'html', 'utf8.class'), 
     78      array('/MDB2_(.+)/', 
     79            '/Mail_(.+)/', 
     80            '/^html_.+/', 
     81            '/^utf8$/', 
     82            '/html2text/' 
     83        ), 
     84      array('MDB2/\\1', 
     85            'Mail/\\1', 
     86            'html', 
     87            'utf8.class', 
     88            'lib/html2text'     // see #1485505 
     89        ), 
    8090      $classname 
    8191  ); 
Note: See TracChangeset for help on using the changeset viewer.