Added internal redirect
(Is there a way to get content_type that wouldn't require File::MMagic?) Apache2::SubRequest's method lookup_file coused segfault in apache, so I scrapped that and used File::MMagic to to content type determing Also fixed credit and added a currentPage.rankIsN variable to navigation
This commit is contained in:
parent
a9c3387cb1
commit
1f78c2b077
8 changed files with 58 additions and 5 deletions
|
|
@ -362,6 +362,7 @@ sub view {
|
|||
$var->{'currentPage.url'} = $current->getUrl;
|
||||
$var->{'currentPage.hasChild'} = $current->hasChildren;
|
||||
$var->{'currentPage.rank'} = $current->getRank;
|
||||
$var->{'currentPage.rankIs'.$current->getRank} = 1;
|
||||
my $currentLineage = $current->get("lineage");
|
||||
my $lineageToSkip = "noskip";
|
||||
my $absoluteDepthOfLastPage;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue