-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, folks

By testing http://kwiki.org/?LocalTemplateChanges , I found that
0.37's Kwiki/Theme.pm has a bug such that the template_path
provided by theme is always first search, therefore the
template_path configuration is not working.

Here's the patch for this bug.

- ----->8-----
- --- Theme.pm.orig       Mon Jan 17 18:34:07 2005
+++ Theme.pm    Mon Jan 17 18:34:27 2005
@@ -25,7 +25,7 @@
     my $theme_id = $self->theme_id;
     my $template_path =
       sprintf $self->default_template_path, $theme_id;
- -    $self->template->add_path($template_path)
+    $self->template->append_path($template_path)
       if -e $template_path;
     my $css_path =
       sprintf $self->default_css_path, $theme_id;
- ------8<-----

Cheers,
Kang-min "Gugod" Liu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB65VZCSIfi0PaMDQRAsD5AJ4hrW8jBlhChs01z35g5s2jv+SQLgCgibUX
UhPe7mjlMcP6O8CWzGZPz5g=
=Da7N
-----END PGP SIGNATURE-----



Reply via email to