> I want to set up my virtual environmant so i can use 1 copy of Cake and all
> site being developed can use that 1 copy.
Pressumming you're using Apache. You just need to set a vhost up for
each site, eg:
domain.dev
another-domain.dev
you then have the cakephp APP folder inside each, and point the
document root of each at the web root inside, eg:
domain.dev = /projects/domain.dev/app/webroot
another-domain.dev = /projects/another-domain.dev/app/webroot
you then have a 'libs' folder at the location, eg:
/projects/libs/cakephp/cake_1.2.5
and set the define in each webroot to point at the correct place, eg:
in /projects/domain.dev/app/webroot/index.php
define('CAKE_CORE_INCLUDE_PATH', DS.'libs'.DS.'cakephp'.DS.'cake_1.2.5');
hth
Jon
--
jon bennett - www.jben.net - blog.jben.net
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 cake-php@googlegroups.com
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?hl=en
No comments:
Post a Comment