first commit

This commit is contained in:
Roman Pyrih
2026-04-03 10:22:35 +02:00
commit 5de35e358d
8424 changed files with 2907254 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<?php
/**
* cloudways custom hosting class
*
* Standard: PSR-2
*
* @package SC\DUPX\HOST
* @link http://www.php-fig.org/psr/psr-2/
*/
use Duplicator\Libs\Snap\SnapUtil;
class DUP_PRO_Cloudways_Host implements DUP_PRO_Host_interface
{
public static function getIdentifier()
{
return DUP_PRO_Custom_Host_Manager::HOST_CLOUDWAYS;
}
public function isHosting()
{
ob_start();
SnapUtil::phpinfo();
$serverinfo = ob_get_clean();
return (strpos($serverinfo, "cloudwaysapps") !== false);
}
public function init()
{
}
}