Fix for using ZF_PATH with composer autoloader.
authorwshafer <wshafer@relivinc.com>
Tue, 18 Sep 2012 13:04:57 +0000 (08:04 -0500)
committerwshafer <wshafer@relivinc.com>
Tue, 18 Sep 2012 13:04:57 +0000 (08:04 -0500)
init_autoloader.php

index 08a0045..72f7fbe 100644 (file)
@@ -33,7 +33,7 @@ if (getenv('ZF2_PATH')) {           // Support for ZF2_PATH environment variable
 
 if ($zf2Path) {
     if (isset($loader)) {
-        $loader->add('Zend', $zf2Path . '/Zend');
+        $loader->add('Zend', $zf2Path . '/');
     } else {
         include $zf2Path . '/Zend/Loader/AutoloaderFactory.php';
         Zend\Loader\AutoloaderFactory::factory(array(