:)
In fact, in init_autoload.php, the code is ambigious for me. When reading
theses lines
if (getenv('ZF2_PATH')) { // Support for ZF2_PATH environment
variable or git submodule
$zf2Path = getenv('ZF2_PATH');
} elseif (get_cfg_var('zf2_path')) { // Support for zf2_path directive value
$zf2Path = get_cfg_var('zf2_path');
} elseif (is_dir('vendor/ZF2/library')) {
$zf2Path = 'vendor/ZF2/library';
}
I would expect the first 'if' to be the definitive rule for zf2 file
location, no ? I mean, what is the point to make this first test, not to use
it later if zf2 files are located too in both 'vendor' and ZF2_PATH?
For me, the most logical would be : if getenv('ZF2_PATH'), then, use this
path and this one only no ?
Maybe there's something that's not really clear for me...
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Force-ZF2-PATH-to-be-used-tp4659276p4659288.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]