Server : Apache System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64 User : palandch ( 1163) PHP Version : 7.1.33 Disable Function : NONE Directory : /var/softaculous/webmail/ |
<?php define('STDIN',fopen("php://stdin","r")); use Symfony\Component\Console\Input\ArrayInput; use Symfony\Component\Console\Output\BufferedOutput; require_once "../system/autoload.php"; \Aurora\System\Api::Init(true); try { $container = \Aurora\Api::GetContainer(); $container['console']->setAutoExit(false); $output = new BufferedOutput(); $container['console']->find('migrate') ->run(new ArrayInput([ '--no-interaction'=>true ]), $output); $content = array_filter(explode(PHP_EOL, $output->fetch())); dd($content); } catch (\Exception $oEx) { dd($oEx); \Aurora\System\Api::LogException($oEx); }