projects
/
zf2.biz
/
application_blanche.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
38525e4
)
Merge pull request #90 from diemuzi/patch-1
author
Evan Coury
<me@evancoury.com>
Sat, 14 Jul 2012 02:41:34 +0000
(19:41 -0700)
committer
Evan Coury
<me@evancoury.com>
Sat, 14 Jul 2012 02:41:34 +0000
(19:41 -0700)
Resolves assignment in condition warning
init_autoloader.php
patch
|
blob
|
history
diff --git
a/init_autoloader.php
b/init_autoloader.php
index
e014e03
..
d9f6042
100644
(file)
--- a/
init_autoloader.php
+++ b/
init_autoloader.php
@@
-22,7
+22,7
@@
if (file_exists('vendor/autoload.php')) {
}
// Support for ZF2_PATH environment variable or git submodule
-if ($zf2Path = getenv('ZF2_PATH') ?: (is_dir('vendor/ZF2/library') ? 'vendor/ZF2/library' : false)) {
+if (($zf2Path = getenv('ZF2_PATH') ?: (is_dir('vendor/ZF2/library') ? 'vendor/ZF2/library' : false)) !== false) {
if (isset($loader)) {
$loader->add('Zend', $zf2Path . '/Zend');
} else {