Commit 10c1c883 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Allow IRIS base URL to be overridden via DBFAKEDISPLAY_IRIS_BASE variable

parent e9eec4c5
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -220,6 +220,7 @@ sub get_results_for {
	if ( @station_matches == 1 ) {
	if ( @station_matches == 1 ) {
		$station = $station_matches[0][2];
		$station = $station_matches[0][2];
		my $status = Travel::Status::DE::IRIS->new(
		my $status = Travel::Status::DE::IRIS->new(
			iris_base      => $ENV{DBFAKEDISPLAY_IRIS_BASE},
			station        => $station,
			station        => $station,
			main_cache     => $opt{cache_iris_main},
			main_cache     => $opt{cache_iris_main},
			realtime_cache => $opt{cache_iris_rt},
			realtime_cache => $opt{cache_iris_rt},