I often have something like (see edit of you previous message): (but I have bake set up and that is worth doing IMHO quite pain free too) -- cake is on the path
so cd ~/www cake bake mysite ... bake one > /cake > /public_html > /www > /mysite > /models .... /views > /controllers > /webroot (all public viewable files) index.php: > > Can someone point out what the corect structure would be? > > > if (!defined('ROOT')) { > define('ROOT', DS.'www'); > } > /** > * The actual directory name for the "app". > * > */ > if (!defined('APP_DIR')) { > define('APP_DIR', 'mysite'); > } > /** > * The absolute path to the "cake" directory, WITHOUT a trailing DS. > * > */ > if (!defined('CAKE_CORE_INCLUDE_PATH')) { > define('CAKE_CORE_INCLUDE_PATH', ROOT); > } > Thanks > > 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---