From 52375094f067bbc22dd001e1f053c9501ac84230 Mon Sep 17 00:00:00 2001 From: wshafer Date: Tue, 18 Sep 2012 08:04:57 -0500 Subject: [PATCH] Fix for using ZF_PATH with composer autoloader. --- init_autoloader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init_autoloader.php b/init_autoloader.php index 08a0045..72f7fbe 100644 --- a/init_autoloader.php +++ b/init_autoloader.php @@ -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( -- 1.7.10.4