diff --git a/app/Controllers/Home.php b/app/Controllers/Home.php index 52c579a..cc706d1 100644 --- a/app/Controllers/Home.php +++ b/app/Controllers/Home.php @@ -10,6 +10,13 @@ class Home extends BaseController } public function promoIndex($promo,$promoOwner=''):string{ + + if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { + echo 'This is a server using Windows!'; + } else { + echo 'This is a server not using Windows!'; + } + $in["promo"] = $promo; $in["promo_owner"] = $promoOwner; $out = $this->APIcall('POST', $this->wrenchApiServer(). 'start',$in);