|
|
|
@ -13,7 +13,6 @@ namespace Mage;
|
|
|
|
|
use Mage\Command\Factory; |
|
|
|
|
use Mage\Command\RequiresEnvironment; |
|
|
|
|
use Mage\Console\Colors; |
|
|
|
|
|
|
|
|
|
use Exception; |
|
|
|
|
use RecursiveDirectoryIterator; |
|
|
|
|
use SplFileInfo; |
|
|
|
@ -95,7 +94,6 @@ class Console
|
|
|
|
|
try { |
|
|
|
|
// Load configuration |
|
|
|
|
$config->load($arguments); |
|
|
|
|
|
|
|
|
|
} catch (Exception $exception) { |
|
|
|
|
$configError = $exception->getMessage(); |
|
|
|
|
} |
|
|
|
@ -119,7 +117,6 @@ class Console
|
|
|
|
|
if ($showGreetings) { |
|
|
|
|
if (!self::$logEnabled) { |
|
|
|
|
self::output('Starting <blue>Magallanes</blue>', 0, 2); |
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
self::output('Starting <blue>Magallanes</blue>', 0, 1); |
|
|
|
|
self::log("Logging enabled"); |
|
|
|
@ -130,7 +127,6 @@ class Console
|
|
|
|
|
// Run Command - Check if there is a Configuration Error |
|
|
|
|
if ($configError !== false) { |
|
|
|
|
self::output('<red>' . $configError . '</red>', 1, 2); |
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
// Run Command and check for Command Requirements |
|
|
|
|
try { |
|
|
|
@ -314,5 +310,4 @@ class Console
|
|
|
|
|
|| self::$config->general('verbose_logging') |
|
|
|
|
|| self::$config->environmentConfig('verbose_logging', false); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|