From bca9edaf6d66e387bf7c89238850d33c68941aa3 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Wed, 1 Mar 2000 22:07:34 +0000 Subject: [PATCH] defaulting $WWW_DEFAULT_VIEW to 'HOSTS' is value is not defined in spong.conf --- src/www-spong.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/www-spong.pl b/src/www-spong.pl index e41dc7b..eb00eff 100755 --- a/src/www-spong.pl +++ b/src/www-spong.pl @@ -104,6 +104,7 @@ $cmd = $ENV{'PATH_INFO'}; # These commands control the frame interface, etc... if( $cmd eq "" || $cmd eq "/" ) { + $main::SPONG_DEFAULT_VIEW = "HOST" unless $main::SPONG_DEFAULT_VIEW; &interactive( "all" ) if $main::SPONG_DEFAULT_VIEW eq "HOST"; &ovinteractive( "all" ) if $main::SPONG_DEFAULT_VIEW eq "OVERVIEW"; exit; -- 2.30.2