HEX
Server: LiteSpeed
System: Linux neo.webimonline.com 5.14.0-687.12.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Jun 7 14:39:27 EDT 2026 x86_64
User: smarimaki (1290)
PHP: 7.4.33
Disabled: mail
Upload Files
File: /home/smarimaki/public_html/wp-content/plugins/duplicator/classes/host/class.godaddy.host.php
<?php

use Duplicator\Libs\Snap\SnapIO;

class DUP_GoDaddy_Host implements DUP_Host_interface
{
    public static function getIdentifier()
    {
        return DUP_Custom_Host_Manager::HOST_GODADDY;
    }

    public function isHosting()
    {
        return apply_filters(
            'duplicator_godaddy_host_check',
            file_exists(SnapIO::safePathUntrailingslashit(WPMU_PLUGIN_DIR) . '/gd-system-plugin.php')
        );
    }

    public function init()
    {
        add_filter('duplicator_defaults_settings', array(__CLASS__, 'defaultsSettings'));
    }

    public static function defaultsSettings($defaults)
    {
        $defaults['archive_build_mode'] = DUP_Archive_Build_Mode::DupArchive;
        return $defaults;
    }
}