Tuesday.jpg.php 351 B

123456789101112131415
  1. <?php
  2. require_once "Schedule.php";
  3. require_once "config.php";
  4. //echo "<pre>";
  5. $sched = new Schedule(Schedule::EveryWeekday("Tuesday", 2), $stations_berlin, $optional, $wanted, $darkmode);
  6. $image = $sched->createImage();
  7. header("Content-Type: image/jpg");
  8. imagejpeg($image);
  9. //imagejpeg($image, "test23.jpg");
  10. //echo "\n\n<img src='test23.jpg'>";