projects
/
zf2.biz
/
application_blanche.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0467053
)
Fix for using ZF_PATH with composer autoloader.
author
wshafer
<wshafer@relivinc.com>
Tue, 18 Sep 2012 13:04:57 +0000
(08:04 -0500)
committer
wshafer
<wshafer@relivinc.com>
Tue, 18 Sep 2012 13:04:57 +0000
(08:04 -0500)
init_autoloader.php
patch
|
blob
|
history
diff --git
a/init_autoloader.php
b/init_autoloader.php
index
08a0045
..
72f7fbe
100644
(file)
--- 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(