if (!defined('CAKE_CORE_INCLUDE_PATH')) {
define('CAKE_CORE_INCLUDE_PATH', ROOT);
}
To
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
define('CAKE_CORE_INCLUDE_PATH', DS . 'path' . DS . 'to' . DS . 'core' );
}
You can break your app directory out of the server document path as well by modifying the appropriate lines.
Jeff
On Tue, Feb 2, 2010 at 9:49 PM, Dave <make.cake.bake@gmail.com> wrote:
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.I have moved my cake folder and set up multiple apps running 1 cake setup.But my css / images are all going looking in the site root.My guess is this ss to do withthe htaccess in webroot<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
</IfModule>my site1 is actuallywww/dev/site1and my cake is inwww/dev/libs/cakeAny ideas how to fix this?Dave
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
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