Merge pull request #124 from wshafer/master
authorMaks <github.maks3w@virtualplanets.net>
Wed, 19 Sep 2012 22:13:39 +0000 (15:13 -0700)
committerMaks <github.maks3w@virtualplanets.net>
Wed, 19 Sep 2012 22:13:39 +0000 (15:13 -0700)
Fix for init_autoloader.php when using composer autoloader

init_autoloader.php

index 08a0045..fbce704 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(