From 6ec05c329a03c8557835c2f4adcfaa4f0210c574 Mon Sep 17 00:00:00 2001 From: in2 Date: Wed, 9 Mar 2005 03:37:00 +0000 Subject: bid 1 for root git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2584 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- staticweb/index.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'staticweb') diff --git a/staticweb/index.pl b/staticweb/index.pl index 5bfc631f..82d52f02 100755 --- a/staticweb/index.pl +++ b/staticweb/index.pl @@ -47,8 +47,8 @@ sub main if( !%brdlist ); ($bid) = $ENV{PATH_INFO} =~ m|.*/(\d+)/$|; - $bid ||= 0; - $rh{isroot} = ($bid == 0); + $bid ||= 1; + $rh{isroot} = ($bid == 1); if( !exists $brdlist{"class.$bid"} ){ print "sorry, this bid $bid not found :("; -- cgit v1.2.3