PATH:
home
/
lab2454c
/
sothebankuab.com
/
dup-installer
/
classes
/
host
<?php /** * godaddy custom hosting class * * Standard: PSR-2 * * @package SC\DUPX\DB * @link http://www.php-fig.org/psr/psr-2/ * */ defined('ABSPATH') || defined('DUPXABSPATH') || exit; /** * class for GoDaddy managed hosting * * @todo not yet implemneted * */ class DUPX_Pantheon_Host implements DUPX_Host_interface { /** * return the current host itentifier * * @return string */ public static function getIdentifier() { return DUPX_Custom_Host_Manager::HOST_PANTHEON; } /** * @return bool true if is current host * @throws Exception */ public function isHosting() { // check only mu plugin file exists $testFile = $GLOBALS['DUPX_ROOT'].'/wp-content/mu-plugins/pantheon.php'; return file_exists($testFile); } /** * the init function. * is called only if isHosting is true * * @return void */ public function init() { } /** * * @return string */ public function getLabel() { return 'Pantheon'; } /** * this function is called if current hosting is this */ public function setCustomParams() { } }
[-] interface.host.php
[edit]
[+]
..
[-] class.wordpresscom.host.php
[edit]
[-] class.liquidweb.host.php
[edit]
[-] class.wpengine.host.php
[edit]
[-] class.flywheel.host.php
[edit]
[-] class.custom.host.manager.php
[edit]
[-] class.godaddy.host.php
[edit]
[-] class.pantheon.host.php
[edit]