You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
728 B
35 lines
728 B
<?php
|
|
|
|
/**
|
|
* Validation object
|
|
*
|
|
* Standard: PSR-2
|
|
*
|
|
* @link http://www.php-fig.org/psr/psr-2 Full Documentation
|
|
*
|
|
* @package SC\DUPX\U
|
|
*/
|
|
|
|
defined('ABSPATH') || defined('DUPXABSPATH') || exit;
|
|
|
|
class DUPX_Validation_test_siteground extends DUPX_Validation_abstract_item
|
|
{
|
|
protected function runTest()
|
|
{
|
|
if (!DUPX_Custom_Host_Manager::getInstance()->isHosting(DUPX_Custom_Host_Manager::HOST_SITEGROUND)) {
|
|
return self::LV_SKIP;
|
|
}
|
|
|
|
return self::LV_SOFT_WARNING;
|
|
}
|
|
|
|
public function getTitle()
|
|
{
|
|
return 'Siteground';
|
|
}
|
|
|
|
protected function swarnContent()
|
|
{
|
|
return dupxTplRender('parts/validation/tests/siteground', array(), false);
|
|
}
|
|
}
|
|
|