> 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.
eg:
/home/username
/home/username/cakephp
/home/username/cakephp/cake
/home/username/cakephp/cake/vendors
/home/username/cakephp/cake/app1
/home/username/cakephp/cake/app2
/home/username/cakephp/cake/domain.com
/home/username/cakephp/cake/domain.com.htaccess
/home/username/cakephp/cake/domain.com/index.php
/home/username/cakephp/cake/domain.com/img
/home/username/cakephp/cake/domain.com/css
/home/username/cakephp/cake/sub.domain.com
/home/username/cakephp/cake/sub.domain.com.htaccess
/home/username/cakephp/cake/sub.domain.com/index.php
/home/username/cakephp/cake/sub.domain.com/img
/home/username/cakephp/cake/sub.domain.com/css
hth
jon
--
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
-~----------~----~----~----~------~----~------~--~---