Monday, February 27, 2012

Re: CakePHP 2 Folder Structure

I'm not sure what you're asking, but it sounds like you want to move
it somewhere else. You can do this by moving your webroot, and then
modifying your webroot index.php file and pointing it to where cake is
at (lib) and then also providing it the name of your application
folder (projectname)

On Feb 27, 9:30 am, Jordy van Kuijk <jvank...@gmail.com> wrote:
> Hi all,
>
> I'm working on transferring an existing PHP application to the CakePHP
> framework.
> I've baked all my models, controllers and views.
>
> My folder structure looks like this:
>
> ProjectName
>    - app
>    - lib
>    - projectname
>       - Config
>       - Console
>       - Controller
>       - Lib
>       - Locale
>       - Model
>       - Plugin
>       - Test
>       - tmp
>       - Vendor
>       - View
>       - webroot
>    - plugins
>    - vendors
>    - index.php
>
> When I point my local server to the "projectname" folder, all works
> fine.
> I would like to let "projectname" work independently.
> The "Lib" folder, for example, is empty, and the actual lib files are
> stored in "lib".
>
> Is there a way to fix this?
>
> Thanks in advance.
>
> Jordy

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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

No comments: