Merge pull request #422 from EuphoryX1/nostromo
[#421] FIX .mage.yml config load path.
This commit is contained in:
commit
35bd3805e4
3
bin/mage
3
bin/mage
|
@ -11,7 +11,8 @@ if (file_exists(__DIR__ . '/../../../autoload.php')) {
|
|||
use Mage\MageApplication;
|
||||
|
||||
try {
|
||||
$mage = new MageApplication('.mage.yml');
|
||||
$file = sprintf("%s/.mage.yml", getcwd());
|
||||
$mage = new MageApplication($file);
|
||||
$mage->run();
|
||||
} catch (Exception $exception) {
|
||||
printf('Error: %s' . PHP_EOL, $exception->getMessage());
|
||||
|
|
Loading…
Reference in New Issue