From 9e9e72ab8ef4543085ab5d45bd087a2a0df689e9 Mon Sep 17 00:00:00 2001 From: wshafer Date: Wed, 19 Sep 2012 13:30:48 -0500 Subject: [PATCH] Updated init_autoloader.php based on chrishewitt comments on pull request 124 --- init_autoloader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init_autoloader.php b/init_autoloader.php index 72f7fbe..fbce704 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 . '/'); + $loader->add('Zend', $zf2Path); } else { include $zf2Path . '/Zend/Loader/AutoloaderFactory.php'; Zend\Loader\AutoloaderFactory::factory(array( -- 1.7.10.4