urls as resources - part 1

This commit is contained in:
JT Smith 2004-08-20 15:30:15 +00:00
parent 378e8d6160
commit 23cb5bd41c
9 changed files with 141 additions and 113 deletions

View file

@ -97,7 +97,7 @@ sub generate {
# Caching
if($self->get('noCache')) {
$session{page}{cacheTimeout} = 0;
$session{page}{cacheTimeoutVisitor} = 0;
$session{page}{cacheTimeoutVisitor} = 0;
}
# Uploads / Extras URL
@ -125,7 +125,7 @@ sub generate {
$session{page}{styleId} = $self->get('styleId') || $session{page}{styleId};
# Generate the page
my $content = WebGUI::page(undef, undef, 1);
my $content = WebGUI::page(undef, undef, 1, $session{page}{urlizedTitle});
if($self->get('stripHTML')) {
$content = WebGUI::HTML::html2text($content);