From: Sam H. <sh...@ma...> - 2005-01-28 20:03:00
|
On Jan 28, 2005, at 11:01 AM, Davide P.Cervone wrote: >> Log Message: >> ----------- >> Moved stylesheet into a separate file. Created new htdocs/css >> directory, >> added stylesheet to that directory (ur.css). Include stylesheet in >> ur.template with new "url" template escape: >> >> <!--#url type="webwork" name="stylesheet"--> >> >> This is 132 lines that Template.pm doesn't have to parse and 4368 >> bytes >> that don't have to get sent to the client with every request. >> >> Modified Files: >> -------------- >> webwork2/conf/templates: >> ur.template >> webwork2/lib/WeBWorK: >> ContentGenerator.pm >> >> Added Files: >> ----------- >> webwork2/htdocs/css: >> ur.css > > Sam: > > I think this also requires an addition to global.conf to define a > webworkURL for stylesheet. It looks like this hasn't been added to > the CVS tree either in HEAD or in the backport. > > I noticed this because I recently did a CVS update in my testbed > server (that is supposed to be just a plain copy of the HEAD > revision), and it started to produce error messages. I tracked it > down to the missing webworkURL value. Yeah, you're right. I added it to global.conf but not global.conf.dist. Whoops! -sam |