On 7/19/07, Jon Bennett <[EMAIL PROTECTED]> wrote:
> On 7/19/07, Jon Bennett <[EMAIL PROTECTED]> wrote:
> > > Line 43 define('ROOT', '/home/username/domain.com');
> > >
> > > Line 56 define('CAKE_CORE_INCLUDE_PATH', '/home/username'); (Notice
> > > 'cake' was left off of the end)
> > >
> > > -----------------
> > > Do the same thing for the sub.domain.com and change all of the
> > > domain.com to sub.domain.com
> >
> > I do this slightly differently, I have a single CAKE folder in the
> > USERNAME folder, and then have multiple APP folders inside., app1,
> > app2, app3 etc I then change the APP_DIR define in the webroot so it
> > points to the relevant app. This has the benefit (to me at least) of
> > keeping all the cake stuff in one place, and keeps only web safe files
> > accessible.
> >
>
> DOH! I meant....
DOH DOH (that's a double doh), I really meant...
/home/username
/home/username/cakephp
/home/username/cakephp/cake
/home/username/cakephp/vendors
/home/username/cakephp/app1
/home/username/cakephp/app2
/home/username/domain.com
/home/username/domain.com/.htaccess
/home/username/domain.com/index.php
/home/username/domain.com/img
/home/username/domain.com/css
/home/username/sub.domain.com
/home/username/sub.domain.com/.htaccess
/home/username/sub.domain.com/index.php
/home/username/sub.domain.com/img
/home/username/sub.domain.com/css
sorry for the list noise :p
jb
--
jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---