mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-08 08:42:14 +02:00
[#421] FIX .mage.yml config load path.
This commit is contained in:
parent
5fa99c68f5
commit
31a3941d11
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 a new issue