mirror of
https://github.com/espocrm/espocrm.git
synced 2026-03-03 03:57:01 +00:00
app runners refactoring
This commit is contained in:
@@ -29,9 +29,14 @@
|
||||
|
||||
include "bootstrap.php";
|
||||
|
||||
use Espo\Core\{
|
||||
Application,
|
||||
ApplicationRunners\Command,
|
||||
};
|
||||
|
||||
ob_start();
|
||||
|
||||
$result = (new \Espo\Core\Application())->run('command');
|
||||
$result = (new Application())->run(Command::class);
|
||||
|
||||
if (is_string($result)) {
|
||||
ob_end_clean();
|
||||
|
||||
Reference in New Issue
Block a user