| Server IP : 162.253.224.18 / Your IP : 216.73.217.81 Web Server : Apache System : Linux s18.infinitysrv.com 3.10.0-962.3.2.lve1.5.89.el7.x86_64 #1 SMP Thu Jul 9 15:55:31 UTC 2026 x86_64 User : dejavumk ( 1184) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/dejavumk/perbec.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_GoDaddy_Host implements DUP_PRO_Host_interface
{
public static function getIdentifier()
{
return DUP_PRO_Custom_Host_Manager::HOST_GODADDY;
}
public function isHosting()
{
return apply_filters('duplicator_pro_godaddy_host_check', file_exists(WPMU_PLUGIN_DIR.'/gd-system-plugin.php'));
}
public function init()
{
add_filter('duplicator_pro_default_archive_build_mode', array(__CLASS__, 'defaultArchiveBuildMode'), 10, 1);
add_filter('duplicator_pro_overwrite_params_data', array(__CLASS__, 'installerParams'));
}
public static function defaultArchiveBuildMode($archiveBuildMode)
{
return DUP_PRO_Archive_Build_Mode::DupArchive;
}
public static function installerParams($data)
{
// disable wp engine plugins
$data['fd_plugins'] = array('value' => array(
'gd-system-plugin.php',
'object-cache.php'
)
);
// generate new wp-config.php file
$data['wp_config'] = array(
'value' => 'new',
'formStatus' => 'st_infoonly'
);
return $data;
}
}