Index: openacs-4/packages/static-pages/tcl/static-pages-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/static-pages/tcl/static-pages-procs.tcl,v diff -u -N -r1.11.2.6 -r1.11.2.7 --- openacs-4/packages/static-pages/tcl/static-pages-procs.tcl 16 Dec 2002 03:22:47 -0000 1.11.2.6 +++ openacs-4/packages/static-pages/tcl/static-pages-procs.tcl 16 Dec 2002 04:30:22 -0000 1.11.2.7 @@ -814,7 +814,8 @@ set body [template::util::read_file $file] } - if { [ad_parameter -package_id $package_id TemplatingEnabledP] } { + set templating_enabled [ad_parameter -package_id $package_id TemplatingEnabledP] + if { ![empty_string_p $templating_enabled] && $templating_enabled } { # Strip out the .. part as page will now be part of a master template set headers "" set sp_scripts ""