Server : Apache System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64 User : nobody ( 99) PHP Version : 8.1.23 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); }