projects
/
zf2.biz
/
application_blanche.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
b2dec86
)
Merge pull request #124 from wshafer/master
author
Maks
<github.maks3w@virtualplanets.net>
Wed, 19 Sep 2012 22:13:39 +0000
(15:13 -0700)
committer
Maks
<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
patch
|
blob
|
history
diff --git
a/init_autoloader.php
b/init_autoloader.php
index
08a0045
..
fbce704
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(