Commit: 78f23116b2f0c7cbc8992826d7a6bd509fd95463

Author: David Persson | Date: 2010-09-04 09:30:00 +0200
Updating phpca library loading to use new autoloader.
diff --git a/config/bootstrap.php b/config/bootstrap.php index c2be1bc..e79dd97 100644 --- a/config/bootstrap.php +++ b/config/bootstrap.php @@ -50,12 +50,7 @@ if (!Libraries::get('lithium_qa')) { Libraries::add('phpca', array( 'prefix' => 'spriebsch\\PHPca\\', 'path' => dirname(__DIR__) . '/libraries/phpca/src', - 'transform' => function($class, $params) { - static $_classMap; - require_once "{$params['path']}/_ClassMap.php"; - require_once "{$params['path']}/Exceptions.php"; - return "{$params['path']}/{$_classMap[$class]}"; - } + 'bootstrap' => 'Autoload.php' )); ?> \ No newline at end of file