PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /proc/thread-self/root/proc/self/root/var/softaculous/webmail/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //proc/thread-self/root/proc/self/root/var/softaculous/webmail/migrate.php

<?php
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Output\BufferedOutput;

require_once "../system/autoload.php";
\Aurora\System\Api::Init(true);

$sPassword = "pass";

set_time_limit(0);

if (!(isset($_GET['pass']) && $sPassword !== '' && $sPassword === $_GET['pass'])) {
    exit("Migration script password is incorrect or not set.");
}

class P8ToP9Migration
{
    
    public function Init()
    {
    }
    
    public function Start()
    {
        try {
            $container = \Aurora\Api::GetContainer();
            $container['console']->setAutoExit(false);

            $output = new BufferedOutput();

            $container['console']->find('migrate:eav-to-sql')
                ->run(new ArrayInput([
                    '--no-interaction'=>true,
                    '--wipe'=>!!$_GET['wipe'],
                    '--quiet'=>!!$_GET['quiet'],
                    '--migrate-file'=>!!$_GET['migrate-file'],
                ]), $output);

            $content = array_filter(explode(PHP_EOL, $output->fetch()));
            dd($content);
        } catch (\Exception $oEx) {
            dd($oEx);
            \Aurora\System\Api::LogException($oEx);
        }
    }

}
ob_start();
$oMigration = new P8ToP9Migration();
$oMigration->Start();
ob_end_flush();
exit("Done");