From 4aff45cbba1cefc8194bd5921a6fa4a37728b85c Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Thu, 19 Sep 2024 10:39:56 -0400 Subject: [PATCH] Link added --- app/Controllers/Home.php | 7 +++++++ 1 file changed, 7 insertions(+) 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);