[Jifty-commit] r2865 - in jifty/branches/template-declare: .
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Tue Feb 27 23:25:37 EST 2007
Author: jesse
Date: Tue Feb 27 23:25:36 2007
New Revision: 2865
Modified:
jifty/branches/template-declare/ (props changed)
jifty/branches/template-declare/lib/Jifty/Plugin.pm
Log:
r48596 at pinglin: jesse | 2007-02-27 23:24:23 -0500
* the caching layer for share roots was busted
Modified: jifty/branches/template-declare/lib/Jifty/Plugin.pm
==============================================================================
--- jifty/branches/template-declare/lib/Jifty/Plugin.pm (original)
+++ jifty/branches/template-declare/lib/Jifty/Plugin.pm Tue Feb 27 23:25:36 2007
@@ -118,7 +118,7 @@
sub template_root {
my $self = shift;
- $self->{share} || $self->_calculate_share();
+ $self->{share} ||= $self->_calculate_share();
return unless $self->{share};
return $self->{share}."/web/templates";
}
@@ -145,7 +145,7 @@
sub static_root {
my $self = shift;
- $self->{share} || $self->_calculate_share();
+ $self->{share} ||= $self->_calculate_share();
return unless $self->{share};
return $self->{share}."/web/static";
}
More information about the Jifty-commit
mailing list