mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-29 18:48:56 +02:00
[Nostromo] Refactor config
This commit is contained in:
@@ -11,8 +11,8 @@ if (file_exists(__DIR__ . '/../../../autoload.php')) {
|
||||
use Mage\MageApplication;
|
||||
|
||||
try {
|
||||
$mage = new MageApplication();
|
||||
$mage->configure('.mage.yml');
|
||||
$mage = new MageApplication('.mage.yml');
|
||||
$mage->configure();
|
||||
$mage->run();
|
||||
} catch (Exception $exception) {
|
||||
printf('Error: %s' . PHP_EOL, $exception->getMessage());
|
||||
|
||||
Reference in New Issue
Block a user