Parent Directory | Revision Log | Patch
revision 202 by dpavlin, Tue Oct 28 22:13:08 2008 UTC | revision 203 by dpavlin, Thu Oct 30 17:53:09 2008 UTC | |
---|---|---|
# | Line 43 use HTML::ResolveLink; | Line 43 use HTML::ResolveLink; |
43 | ||
44 | sub path { | sub path { |
45 | my $self = shift; | my $self = shift; |
46 | my $path = 'templates/www.carnet.hr/' . $self->uri->path; | my $path = join('/', ( 'templates', $self->uri->host, $self->uri->path ) ); |
47 | $path .= '.html' if $path !~ m/\.\w+$/; | $path .= '.html' if $path !~ m/\.\w+$/; |
48 | return $path; | return $path; |
49 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |