forked from LiveCarta/LiveCartaWP
Changed source root directory
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* wpengine custom hosting class
|
||||
*
|
||||
* Standard: PSR-2
|
||||
*
|
||||
* @package SC\DUPX\HOST
|
||||
* @link http://www.php-fig.org/psr/psr-2/
|
||||
*/
|
||||
|
||||
use Duplicator\Libs\Snap\SnapIO;
|
||||
|
||||
defined('ABSPATH') || defined('DUPXABSPATH') || exit;
|
||||
|
||||
class DUP_Liquidweb_Host implements DUP_Host_interface
|
||||
{
|
||||
const TEST = 0;
|
||||
|
||||
public static function getIdentifier()
|
||||
{
|
||||
return DUP_Custom_Host_Manager::HOST_LIQUIDWEB;
|
||||
}
|
||||
|
||||
public function isHosting()
|
||||
{
|
||||
return apply_filters(
|
||||
'duplicator_liquidweb_host_check',
|
||||
file_exists(SnapIO::safePathUntrailingslashit(WPMU_PLUGIN_DIR) . '/liquid-web.php')
|
||||
);
|
||||
}
|
||||
|
||||
public function init()
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user