Updated init_autoloader.php based on chrishewitt comments on pull request 124
authorwshafer <wshafer@relivinc.com>
Wed, 19 Sep 2012 18:30:48 +0000 (13:30 -0500)
committerwshafer <wshafer@relivinc.com>
Wed, 19 Sep 2012 18:30:48 +0000 (13:30 -0500)
init_autoloader.php

index 72f7fbe..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 . '/');
+        $loader->add('Zend', $zf2Path);
     } else {
         include $zf2Path . '/Zend/Loader/AutoloaderFactory.php';
         Zend\Loader\AutoloaderFactory::factory(array(