Link added
This commit is contained in:
@@ -10,6 +10,13 @@ class Home extends BaseController
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function promoIndex($promo,$promoOwner=''):string{
|
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"] = $promo;
|
||||||
$in["promo_owner"] = $promoOwner;
|
$in["promo_owner"] = $promoOwner;
|
||||||
$out = $this->APIcall('POST', $this->wrenchApiServer(). 'start',$in);
|
$out = $this->APIcall('POST', $this->wrenchApiServer(). 'start',$in);
|
||||||
|
|||||||
Reference in New Issue
Block a user