Common files across sites

James Orr <[email protected]> Wed, 5 Nov 2014 16:44:27 -0500
Newsgroups gmane.comp.web.mason.user
Message-ID <CAFWVHUFkEBX1UE-G50bFP70xTqbOb=boHBrNLqfqgJXr88LppA@mail.gmail.com>
--===============2982402605831069921==
Content-Type: multipart/alternative; boundary=001a11c2e222e33b320507237b92

--001a11c2e222e33b320507237b92
Content-Type: text/plain; charset=UTF-8

I have some files that will be common to several sites, some components and
some perl modules.

For the components I can add this to global.cfg ...

mason.comp_root: [ /path/to/site/comps, /path/to/common/comps ]

That should let me access the common components, while allowing me to
over-ride them if I need to on a particular site.

What I'm not sure about is how to setup the path to the common modules.
I'm guessing I'd need a ...

use lib '/path/to/common/lib';

somewhere, but not sure where?  Or could this also be done in the
global.cfg file?

--001a11c2e222e33b320507237b92
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I have some files that will be common to several sites, so=
me components and some perl modules.<div><br></div><div>For the components =
I can add this to global.cfg ...</div><div><br></div><div>mason.comp_root: =
[ /path/to/site/comps, /path/to/common/comps ]</div><div><br></div><div>Tha=
t should let me access the common components, while allowing me to over-rid=
e them if I need to on a particular site.</div><div><br></div><div>What I&#=
39;m not sure about is how to setup the path to the common modules.=C2=A0 I=
&#39;m guessing I&#39;d need a ...</div><div><br></div><div>use lib &#39;/p=
ath/to/common/lib&#39;;</div><div><br></div><div>somewhere, but not sure wh=
ere?=C2=A0 Or could this also be done in the global.cfg file?</div><div><br=
></div><div><br></div></div>

--001a11c2e222e33b320507237b92--


--===============2982402605831069921==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============2982402605831069921==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

--===============2982402605831069921==--