Thanks a lot for these explanations !

If i well understand what you're saying, The zf2 file location used in my
project is the one in vendor, because I installed zf2 from composer via the
skeleton application ? (php composer.phar install)

With auto-installing zf2 with composer, the project considers to use zf2
files in vendor ?

So,

if (file_exists('vendor/autoload.php')) {
    $loader = include 'vendor/autoload.php';
}

is the key ? It means 'if this file can't be included', so composer hasn't
been used, and use user-defined pathes. Am I right ?


To conclude, if I want to achieve my goal, I just have not to install zf2
files by composer, but manually ?

Thanks a lot !



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Force-ZF2-PATH-to-be-used-tp4659276p4659291.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to