ok thanks On May 29, 12:30 pm, "Siegfried Hirsch" <[EMAIL PROTECTED]> wrote: > 2007/5/29, rtanz <[EMAIL PROTECTED]>: > > > so how should they be organised, for example in the views folder i > > require and index.html for both projects so they cannot coexist > > together unless i change one of the filenames which i would not like > > to do. Can i separate them neatly into folders? and how can i achieve > > that thanks > > Read:http://manual.cakephp.org/chapter/installing > the part "Production setup" > I have just done that and have the applications in different subdomains and > the /cake/.... is only installed once. You just have to set the following > DEFINES > > /app/webroot/index.php (partial, comments removed) > if (!defined('ROOT')) > { > define('ROOT', dirname(dirname(dirname(__FILE__)))); > > } > > if (!defined('APP_DIR')) > { > define ('APP_DIR', basename(dirname(dirname(__FILE__)))); > > } > > if (!defined('CAKE_CORE_INCLUDE_PATH')) > { > define('CAKE_CORE_INCLUDE_PATH', ROOT); > > } > > in your /app/webroot/index.php, which you have for every of your apps. > > -- > Siegfried Hirsch > hhS - Welserstr. 1 - 81373 München - (089) 5484 3564 - > skype:shirschhttp://gadgetgui.de/http://www.rss-blogger.dehttp://www.newsbee.deNewsBee > 2 - customized RSS solutions
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---