[thelist] JavaScript included file question

Chris Marsh chris at ecleanuk.com
Thu Aug 28 07:44:32 CDT 2003



> and a global setting page has this: 
> WS_PATH.'include/global_javascript.js');
> Can someone tell me what the point of this is? It seems
> like a rather round-about way to call an included file.

This centralises the reference to the .js file. If the site
administrator wishes to include a different file, then they need only
change a single value for this to be reflected site-wide.


Chris Marsh

More information about the thelist mailing list