CakePHP uses an constant, APP_DIR, to point to where the App folder is located.
My guess is that you just need to ensure that the index.php for each user webroot points to the same App folder. Check the CakePHP book at: http://book.cakephp.org/2.0/en/installation/advanced-installation.html#sharing-cakephp-libraries-with-multiple-applications Enjoy, John On Wednesday, 24 December 2014 04:51:56 UTC+2, Banny Muth wrote: > > Hi I'm a new born programmer trying to build a system that user can > register then get a free prebuild system( sample webroot) that i make. > The problem is all user will share the same logic (app folder) only > different on their UI (webroot). > So I will copy the prebuild system (sample webroot) to their folder on > their register. > How can i share app folder with multi UI (webroot) of their prebuild > system. > My folder structure is: > > lib > app > webroot (mysite UI) > prebuildsystem > usersystem > |-user1(webroot) > |-user2(webroot) > |-user3(webroot) > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
