[thelist] JavaScript included file question
Chris Marsh
chris at ecleanuk.com
Thu Aug 28 07:44:32 CDT 2003
Nan
[..]
> and a global setting page has this:
> define("STR_GLOBAL_JAVASCRIPT",
> 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.
Regards
Chris Marsh
More information about the thelist
mailing list