Closte.php
4 years ago
Cloudways.php
4 years ago
Flywheel.php
4 years ago
GoDaddyWPaaS.php
4 years ago
GridPane.php
4 years ago
Hosting.php
4 years ago
Kinsta.php
4 years ago
Pagely.php
4 years ago
PagelyCachePurge.php
4 years ago
SiteGround.php
4 years ago
WPEngine.php
4 years ago
Hosting.php
17 lines
| 1 | <?php |
| 2 | |
| 3 | namespace NitroPack\Integration\Hosting; |
| 4 | |
| 5 | class Hosting { |
| 6 | protected function getHosting() { |
| 7 | $siteConfig = nitropack_get_site_config(); |
| 8 | if ($siteConfig && !empty($siteConfig["hosting"])) { |
| 9 | $hosting = $siteConfig["hosting"]; |
| 10 | } else { |
| 11 | $hosting = nitropack_detect_hosting(); |
| 12 | } |
| 13 | |
| 14 | return $hosting; |
| 15 | } |
| 16 | } |
| 17 |