Server IP : 104.21.14.103 / Your IP : 18.188.45.17 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/giankuin/khowordpress.com/wp-content/plugins/duplicator-pro/classes/host/ |
Upload File : |
<?php /** * godaddy custom hosting class * * Standard: PSR-2 * * @package SC\DUPX\HOST * @link http://www.php-fig.org/psr/psr-2/ * */ defined('ABSPATH') || defined('DUPXABSPATH') || exit; class DUP_PRO_WordpressCom_Host implements DUP_PRO_Host_interface { public static function getIdentifier() { return DUP_PRO_Custom_Host_Manager::HOST_WORDPRESSCOM; } public function isHosting() { return apply_filters('duplicator_pro_wordpress_host_check', file_exists(WPMU_PLUGIN_DIR.'/wpcomsh-loader.php')); } public function init() { add_filter('duplicator_pro_is_shellzip_available', '__return_false'); add_filter('duplicator_pro_overwrite_params_data', array(__CLASS__, 'installerParams')); } public static function installerParams($data) { // disable wp engine plugins $data['fd_plugins'] = array('value' => array( 'wpcomsh-loader.php', 'advanced-cache.php', 'object-cache.php' ) ); // generare new wp-config.php file $data['wp_config'] = array( 'value' => 'new', 'formStatus' => 'st_infoonly' ); // disable WP_CACHE $data['wpc_WP_CACHE'] = array( 'value' => array( 'value' => false, 'inWpConfig' => false ), 'formStatus' => 'st_infoonly' ); return $data; } }