I have a similar setup Dave, and you just have to define additional
vendor path.

for 1.3
http://book.cakephp.org/view/916/Additional-Class-Paths

If you are using 1.2:
http://book.cakephp.org/view/36/Additional-Class-Paths


On Sep 12, 9:46 am, "Dave Maharaj" <[email protected]> wrote:
> Ok maybe this will show how I have things set up better
> libs/
>         1.2.x/cake
>         1.3.x/cake
> public_html
>         Site1/app
>                 /app /plugins  
>                 /vendors
>         Site2/app
>                 /app /plugins  
>                 /vendors
>         Site3/app
>                 /app /plugins  
>                 /vendors
>
> And since the sites use same vendors such as the pdf maker / CkEditor and
> such rather than having the same thing over and over if I could place them
> in 1 spot and use them for each app.
>
>
>
> -----Original Message-----
> From: euromark [mailto:[email protected]]
> Sent: September-12-10 10:57 AM
> To: CakePHP
> Subject: Re: Vendors / Plugins shared?
>
> actually
> cake would still be out of the webroot
>
> that is IF you set up your server correctly
>
> point the apache directories to /app/webroot/
> everything below "webroot" is not accessible anymore
> and so is cake + vendors
>
> On 12 Sep., 15:11, "Dave Maharaj" <[email protected]> wrote:
> > But my "app" are situated inside their own site1, site2, site3 and I
> prefer
> > to keep Cake outside the accessible www webroot.
>
> > -----Original Message-----
> > From: euromark [mailto:[email protected]]
> > Sent: September-12-10 10:36 AM
> > To: CakePHP
> > Subject: Re: Vendors / Plugins shared?
>
> > www/sites/app1
> > www/sites/app2
> > www/sites/app3
>
> > with
> > www/sites/cake
> > www/sites/vendors
>
> > would work without any additional setup
>
> > On 12 Sep., 15:00, "Dave Maharaj" <[email protected]> wrote:
> > > I have a libs folder outside webroot which houses my
>
> > > 1.2.8 / cake
>
> > > 1.3.3 / cake
>
> > > 1.3.4 / cake
>
> > > And my apps are in
>
> > > www/site/app
>
> > > www/site2/app
>
> > > www/site3/app
>
> > > Can it be set It up so they can share Vendors and Plugins? (each
> version)
> > > Right now I have vendor and plugin inside each app folder.
>
> > > Thanks
>
> > > Dave
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp others
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected] For more options, visit this group
> athttp://groups.google.com/group/cake-php?hl=en
>
> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group 
> athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to