From 34cc535314d8ad745bbaf92877d69311da4703a0 Mon Sep 17 00:00:00 2001 From: kekskurse Date: Tue, 17 Dec 2024 22:11:17 +0100 Subject: [PATCH] fix sample --- sample/c3fl.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sample/c3fl.php b/sample/c3fl.php index ea85ea6..897bac1 100644 --- a/sample/c3fl.php +++ b/sample/c3fl.php @@ -9,9 +9,6 @@ use kekskurse\mobilizon\Mobilizon; use kekskurse\mobilizon\MobilizonAddress; use kekskurse\mobilizon\MobilizonEvent; -$token = "overwrite in config.php"; -include("config.php"); - $client = new Client([ "base_uri" => "https://events.gutes.team", 'timeout' => 2.0, @@ -23,7 +20,7 @@ $client = new Client([ //Calculate the next 3 Events for OpenSpace $date = new DateTime('next tuesday'); $dateList = [$date]; -for($i = 1; $i < 1; $i++) { +for($i = 1; $i < 4; $i++) { $newDate = clone end($dateList); $newDate->modify('+7 days'); $dateList[] = $newDate;