A more flexible directory layout

The default directory layout of CakePHP is (very simplified):

/cakeinstallation
    /app
        /webroot
    /cake

If you wanted to use a different layout structure, you have had to use symlinks. In the coming release of CakePHP (RC5?) you can have the three directories “app” (it is not necessary to use this name), “webroot” and “cake” wherever you want to have them. You simply have to set three constants in “/app/webroot/index.php”.

2 Comments

  1. Posted February 17, 2006 at 5:52 pm | Permalink

    Is this already available in the trunk / nightlies?

  2. Posted February 17, 2006 at 6:31 pm | Permalink

    It is in trunk.


%d bloggers like this: