Hello everyone, there is something new in Cohan and I have a quick question.
I have a website on which there will be three subsections organized by a subdomain (for example, admin.site.com, community.site.com, www.site.com), but each of the subsections will be extracted from the same database and should be shared by the same same models. Is there a way to organize it so that I can use the same Kohana model / system / module files for each of the subdomains, but save the application folder separately? Sort of:
/home/user/admin/
application/
bootstrap.php
cache/
...
index.php
/home/user/community/
application/
bootstrap.php
cache/
...
index.php
/home/user/public_html/
application/
bootstrap.php
cache/
...
index.php
/home/user/kohana/
modules/
...
models/
...
system/
Thus, I can support Kohana on three sites with only one update, plus I can use the same modules and model classes. Is there any way to make this possible? Or is there some other method that I should use?
Thank!