summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-09 11:37:00 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-09 11:37:00 +0800
commit6ec05c329a03c8557835c2f4adcfaa4f0210c574 (patch)
tree29ee5ae5feeb3d4ec9ba0db61d83e8bef176c651
parenta9ab0dab6e86c98cfb4fb80db1ba56d51a3c0daa (diff)
downloadpttbbs-6ec05c329a03c8557835c2f4adcfaa4f0210c574.tar
pttbbs-6ec05c329a03c8557835c2f4adcfaa4f0210c574.tar.gz
pttbbs-6ec05c329a03c8557835c2f4adcfaa4f0210c574.tar.bz2
pttbbs-6ec05c329a03c8557835c2f4adcfaa4f0210c574.tar.lz
pttbbs-6ec05c329a03c8557835c2f4adcfaa4f0210c574.tar.xz
pttbbs-6ec05c329a03c8557835c2f4adcfaa4f0210c574.tar.zst
pttbbs-6ec05c329a03c8557835c2f4adcfaa4f0210c574.zip
bid 1 for root
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2584 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rwxr-xr-xstaticweb/index.pl4
1 files changed, 2 insertions, 2 deletions
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 :(";