Index: openacs-4/www/blank-master.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/www/blank-master.tcl,v diff -u -r1.25 -r1.26 --- openacs-4/www/blank-master.tcl 18 Sep 2007 07:06:33 -0000 1.25 +++ openacs-4/www/blank-master.tcl 25 Sep 2007 15:22:41 -0000 1.26 @@ -3,7 +3,6 @@ document to be set through convenient data structures without introducing anything site specific. - You MUST supply the following variables: You should NEVER need to modify this file. Most of the time your pages or master templates should not directly set this @@ -64,14 +63,18 @@ set doc(type) {} } +if {![info exists doc(title)]} { + set doc(title) "[ad_conn instance_name]" + ns_log warning "[ad_conn url] has no doc(title) set." +} if {[template::util::is_nil doc(charset)]} { set doc(charset) [ad_conn charset] } # The document language is always set from [ad_conn lang] which by default # returns the language setting for the current user. This is probably # not a bad guess, but the rest of OpenACS must override this setting when -# appropriate and set the lang attribute of tags which differ from the language +# appropriate and set the lang attribxute of tags which differ from the language # of the page. Otherwise we are lying to the browser. set doc(lang) [ad_conn language] @@ -203,4 +206,4 @@ } } } -} \ No newline at end of file +}