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;