On Feb 2, 11:07 pm, "Dave" <[email protected]> wrote:
> I am trying to set up multiple apps using 1 cake so i have currently:
> public_html/
>                 dev/
>                         libs/
>                                 cake1.2.6/
>                         site1/
>                                 /app
>                         site2/
>                                 /app
>
> Webroot index.php (site1)
>
> if (!defined('ROOT')) {
>                 define('ROOT', DS.'dev'.DS.'site1');

You're defining an absolute path to something that doesn't exist. you
probably meant '/var/www/..../dev/site1'

However I'd suggest using a file structure as described here:
http://github.com/AD7six/mi_install/blob/master/README.markdown

which is also described in the book.

since it means you don't need to change anything in your index.php. If
you don't want to modify your include path server wide just symlink
apps/cake to cakes/.../cake

hth,

AD

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