Add new redirectPermanent _config variable

This commit is contained in:
uriel 2008-06-28 00:53:24 +02:00
parent 0d5e27249e
commit 36b3768226

View File

@ -162,6 +162,17 @@ for ( i in ('' $args) ) {
inBlog = 'yes'
}
# Redirections and other preprocessing
if (~ $#redirectPermanent 1) {
echo 'Status: 301 Moved Permanantly
Location: '^$"redirectPermanent^'
'
}
# Template/body selection
template=$sitedir/$template.tpl
if (! ~ $#sidebar 0)
sidebar=tpl/_inc/$sidebar.tpl