From 5a2713a69ba333a8436138c52ee6af59698ab590 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Wed, 2 Oct 2024 13:50:55 -0400 Subject: [PATCH] promo index --- app/Controllers/Home.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/app/Controllers/Home.php b/app/Controllers/Home.php index 57ddab5..5d8144a 100644 --- a/app/Controllers/Home.php +++ b/app/Controllers/Home.php @@ -11,25 +11,12 @@ class Home extends BaseController public function promoIndex($promo,$promoOwner=''){ -// 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); - $out["promo"] = $promo; - $out["promo_owner"] = $promoOwner; - - var_dump( $out ); - if ( !isset($out) || !isset($out["status_message"]) || $out["status_message"] != "VALID_LINK_FOUND"){ return redirect()->to($out["user_server_name"]); } - - $out["task"] = $this->APIcall('POST', $this->wrenchApiServer(). 'tasks',$in)["result_list"]; return view('welcome_message', $out); }