1
0
Fork 0

Bullet-proof global composer instantiation

pull/2264/merge
Jordi Boggiano 2014-12-14 12:36:58 +00:00
parent 4cc52afcc4
commit d621c51b2c
1 changed files with 2 additions and 2 deletions

View File

@ -353,12 +353,12 @@ class Factory
} }
$composer = null; $composer = null;
chdir($config->get('home'));
try { try {
chdir($config->get('home'));
$composer = self::createComposer($io, null, $disablePlugins, false); $composer = self::createComposer($io, null, $disablePlugins, false);
} catch (\Exception $e) { } catch (\Exception $e) {
} }
chdir($oldCwd); @chdir($oldCwd);
return $composer; return $composer;
} }