✏️ 正在编辑: class.flywheel.host.php
路径:
/home/ubuntu/plugins-bkp-26012025/duplicator/classes/host/class.flywheel.host.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php /** * Flywheel 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_Flywheel_Host implements DUP_Host_interface { public static function getIdentifier() { return DUP_Custom_Host_Manager::HOST_FLYWHEEL; } public function isHosting() { $path = duplicator_get_home_path() . '/.fw-config.php'; return apply_filters('duplicator_host_check', file_exists($path), self::getIdentifier()); } public function init() { } }
💾 保存文件
← 返回文件管理器