1
0
Fork 0

Merge pull request #3825 from fonsecas72/ppp

Use get home from Config instead of factory
pull/3829/head
Jordi Boggiano 2015-03-08 18:02:57 +00:00
commit 9f9cff558e
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ class Factory
$config->merge(array('config' => array('home' => $home, 'cache-dir' => $cacheDir)));
// load global config
$file = new JsonFile($home.'/config.json');
$file = new JsonFile($config->get('home').'/config.json');
if ($file->exists()) {
if ($io && $io->isDebug()) {
$io->writeError('Loading config file ' . $file->getPath());