Tuesday, June 2, 2009

Re: More application with same core files

Balanza, are you talking about your app files or your core cake
files? I and I'd say most CakePHP developers have the core cake
directory separated from their application directories...all within
their server directory. In other words, my strucutre is like this:

www/
.../cake
.../website1
.../website2
.../website3

I have my cake directory SVN'd to get the latest releases when
necessary and all of my websites run off that new release. All I have
in my website directories are the app files. You'll need to edit /app/
webroot/index.php to instruct it where the CAKE_CORE_INCLUDE_PATH (I
may be slightly off on that but you'll know it when you see it) should
point to. Then you're good to go.

On Jun 1, 6:49 pm, Balanza <ema.d...@gmail.com> wrote:
> Hi there,
>
> I'm new in cake and I'm baking my first application.
>
> While setting up my work-environment, a question came up: is it
> possible to run more than an application under the same cake root
> (using the same base classes)?
>
> I used to develop with simply php using Smarty template engine, and
> with that was possible. I hope i can do the same with Cake, otherwise
> it'll be annoying to copy the same files for every application (http://
> book.cakephp.org/view/19/CakePHP-Folder-Structure), and it's gonna be
> waste of disk-space and more difficult to keep updated, too
>
> Thanks,
>
> Balanza
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: