mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
new command interface
This commit is contained in:
@@ -34,11 +34,4 @@ use Espo\Core\{
|
||||
ApplicationRunners\Command,
|
||||
};
|
||||
|
||||
ob_start();
|
||||
|
||||
$result = (new Application())->run(Command::class);
|
||||
|
||||
if (is_string($result)) {
|
||||
ob_end_clean();
|
||||
echo $result;
|
||||
}
|
||||
(new Application())->run(Command::class);
|
||||
|
||||
Reference in New Issue
Block a user