Small fix to last commit's hack, check that we don't have blogDirs or inBlog *after* parsing _config

This commit is contained in:
uriel 2007-06-15 14:15:35 +02:00
parent 5125688859
commit 6bb186b132

View File

@ -135,11 +135,11 @@ for ( i in '' $args ) {
blogDirs = ()
}
if ( ~ $#inBlog 0 && ~ $i [Bb]log )
inBlog = 'yes'
if ( test -f $fpath/_config )
. $fpath/_config
if ( ~ $#blogDirs 0 && ~ $#inBlog 0 && ~ $i [Bb]log )
inBlog = 'yes'
}
template=$sitedir/$template.tpl