Missed a spot in the old namespace. Help is now under site.help...

        Patch by fu. 

diffs (11 lines):

diff -r fac7fba7c8cb -r 23c6dc5ad3c1 cgi-bin/DW/Template.pm
--- a/cgi-bin/DW/Template.pm    Wed Jan 05 16:27:42 2011 +0800
+++ b/cgi-bin/DW/Template.pm    Thu Jan 06 13:02:42 2011 +0800
@@ -63,7 +63,6 @@ my $view_engine = Template->new({
     INCLUDE_PATH => "$LJ::HOME/views/",
     NAMESPACE => {
         site => $site_constants,
-        help => Template::Namespace::Constants->new( \%LJ::HELPURL ),
     },
     CACHE_SIZE => $LJ::TEMPLATE_CACHE_SIZE, # this can be undef, and that 
means cache everything.
     STAT_TTL => $LJ::IS_DEV_SERVER ? 1 : 3600,
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to