projects
/
zf2.biz
/
galerie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38525e4
)
Resolves assignment in condition warning
author
Sammie S. Taunton
<diemuzi@gmail.com>
Fri, 13 Jul 2012 23:38:54 +0000
(18:38 -0500)
committer
Sammie S. Taunton
<diemuzi@gmail.com>
Fri, 13 Jul 2012 23:38:54 +0000
(18:38 -0500)
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 {