On Sat, Sep 26, 2009 at 11:18 AM, number9 <xpozit...@gmail.com> wrote: > > I basically want to share the app and cake folder of an application, > so that the only thing that needs to be uploaded for a new instance of > the app is the webroot folder. To complicate matters slightly caching > is utilised, so the tmp folder needs to be moved to the webroot (as > well as the config folder). > > I have read the following: > http://book.cakephp.org/view/35/Advanced-Installation > but I cannot seem to get it to work. > > I have modified the index.php file (webroot) and know I will need to > modify the core "paths.php" file. If anybody has done anything similar > and could post their code I would be very grateful.
You shouldn't need to modify anything in the core libs. I'm pretty sure all you'd need to change is ROOT, APP_DIR, and WWW_ROOT define in index.php. That, and add: define('TMP', PATH_TO.'tmp'.DS); > The setup is looking like this: > > /home/siteone/etc > > - app folder > - cake folder > > /home/sitetwo/public_html > > - tmp > - config > - webroot > > Thanks in advance for any help! > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---