alecpl
2011-06-13 7479c1d63c1a0a7139ad42a976d3ce3b61d21aef
- Fix autoloading of Auth_SASL classes in Installer


1 files modified
18 ■■■■ changed files
installer/utils.php 18 ●●●● patch | view | raw | blame | history
installer/utils.php
@@ -34,8 +34,22 @@
function __autoload($classname)
{
  $filename = preg_replace(
      array('/MDB2_(.+)/', '/Mail_(.+)/', '/Net_(.+)/', '/^html_.+/', '/^utf8$/'),
      array('MDB2/\\1', 'Mail/\\1', 'Net/\\1', 'html', 'utf8.class'),
        array(
            '/MDB2_(.+)/',
            '/Mail_(.+)/',
            '/Net_(.+)/',
            '/Auth_(.+)/',
            '/^html_.+/',
            '/^utf8$/'
        ),
        array(
            'MDB2/\\1',
            'Mail/\\1',
            'Net/\\1',
            'Auth/\\1',
            'html',
            'utf8.class'
        ),
      $classname
  );
  include_once $filename. '.php';