Index: openacs-4/packages/static-pages/tcl/static-pages-init.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/static-pages/tcl/static-pages-init.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/static-pages/tcl/static-pages-init.tcl 24 Oct 2001 15:15:38 -0000 1.1 @@ -0,0 +1,9 @@ +# setup the STATIC_PAGES location for CR_LOCATIONS so that all paths +# stored in the db are relative to the OpenACS installation dir + +if ![nsv_exists CR_LOCATIONS STATIC_PAGES] { + nsv_set CR_LOCATIONS STATIC_PAGES "[file dirname [string trimright [ns_info tcllib] "/"]]/www" +} + +ns_log notice "static-pages-init.tcl loaded" + \ No newline at end of file