bug fixes
This commit is contained in:
parent
6c3120b9b0
commit
da580b77a0
3 changed files with 7 additions and 7 deletions
|
|
@ -3,6 +3,7 @@
|
|||
- Added all sorts of caching to increase performance.
|
||||
- Fixed resetting votes on Poll would crash it.
|
||||
- Fixed not being able to set display title and other yes no questions to no.
|
||||
- Fixed a bug where URLs would become unreachable when using SSL.
|
||||
|
||||
|
||||
6.3.0
|
||||
|
|
|
|||
|
|
@ -572,10 +572,10 @@ sub www_view {
|
|||
) &&
|
||||
not $session{var}{adminOn}
|
||||
);
|
||||
# if ($useCache) {
|
||||
# $cache = WebGUI::Cache->new("asset_".$self->getId."_".$session{user}{userId});
|
||||
# $output = $cache->get;
|
||||
# }
|
||||
if ($useCache) {
|
||||
$cache = WebGUI::Cache->new("wobject_".$self->getId."_".$session{user}{userId});
|
||||
$output = $cache->get;
|
||||
}
|
||||
unless ($output) {
|
||||
$output = $self->processStyle($self->view);
|
||||
my $ttl;
|
||||
|
|
@ -584,7 +584,7 @@ sub www_view {
|
|||
} else {
|
||||
$ttl = $self->get("cacheTimeout");
|
||||
}
|
||||
# $cache->set($output, $ttl) if ($useCache && !WebGUI::HTTP::isRedirect());
|
||||
$cache->set($output, $ttl) if ($useCache && !WebGUI::HTTP::isRedirect());
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -256,9 +256,8 @@ sub page {
|
|||
my $url;
|
||||
if ($useFullUrl) {
|
||||
$url = getSiteURL();
|
||||
} else {
|
||||
$url = getScriptURL();
|
||||
}
|
||||
$url .= getScriptURL();
|
||||
my $pathinfo = $session{env}{PATH_INFO};
|
||||
$pathinfo =~ s/^\/(.*)/$1/;
|
||||
$url .= $pathinfo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue