403Webshell
Server IP : 88.99.149.37  /  Your IP : 216.73.216.141
Web Server : nginx/1.31.2
System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64
User : muralimurth ( 1015)
PHP Version : 8.4.23
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/thread-self/cwd/wp-content/plugins/wp-migrate-db/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/cwd/wp-content/plugins/wp-migrate-db/setup-plugin.php
<?php

defined( 'ABSPATH' ) || exit;

use Dotenv\Dotenv;

$wpmdb_base_path = dirname(__FILE__);

$plugin_root = '/';

if(!defined('WPMDB_PLUGIN_PATH')){
    define('WPMDB_PLUGIN_PATH', plugin_dir_path(__FILE__));
}

if( file_exists(__DIR__ . $plugin_root.".env") ) {
    $dotenv = Dotenv::createImmutable(__DIR__ . $plugin_root);
    $dotenv->load();
}

if (!defined('WPMDB_MINIMUM_WP_VERSION')) {
    define('WPMDB_MINIMUM_WP_VERSION', '5.2');
}

if (!defined('WPMDB_MINIMUM_PHP_VERSION')) {
    define('WPMDB_MINIMUM_PHP_VERSION', '5.6');
}

// Silence WP 6.2 Requests library autoloader deprecation warnings
// https://make.wordpress.org/core/2023/03/08/requests-library-upgraded-to-2-0-5-in-wordpress-6-2/
if ( ! defined('REQUESTS_SILENCE_PSR0_DEPRECATIONS')) {
    define('REQUESTS_SILENCE_PSR0_DEPRECATIONS', true);
}

if (!class_exists('WPMDB_PHP_Checker')) {
    require_once $wpmdb_base_path . '/php-checker.php';
}

$php_checker = new WPMDB_PHP_Checker(__FILE__, WPMDB_MINIMUM_PHP_VERSION);
if (!$php_checker->is_compatible_check()) {
    register_activation_hook(__FILE__, array('WPMDB_PHP_Checker', 'wpmdb_pro_php_version_too_low'));
}


if (!function_exists('wpmdb_deactivate_other_instances')) {
    require_once $wpmdb_base_path . '/class/deactivate.php';
}

add_action('activated_plugin', 'wpmdb_deactivate_other_instances');
add_action('wpmdb_migration_complete', 'wpmdb_deactivate_free_instance_after_migration', 10, 1);

Youez - 2016 - github.com/yon3zu
LinuXploit