Smol updates

This commit is contained in:
2022-04-25 23:40:54 +02:00
parent 303b8bc5ea
commit 04298d4498
5 changed files with 53 additions and 34 deletions

View File

@@ -3,8 +3,13 @@
require_once "Schedule.php";
require_once "config.php";
//echo "<pre>";
$sched = new Schedule(Schedule::EveryWeekday("Tuesday", 2), $stations_berlin, $optional, $wanted, $darkmode);
$image = $sched->createImage();
header("Content-Type: image/jpg");
imagejpeg($image);
imagejpeg($image);
//imagejpeg($image, "test23.jpg");
//echo "\n\n<img src='test23.jpg'>";