jimmydeansuncle
New Member
Please help me. I am quite new to kohana. How best to do so the controller was chosen based on the subdomain. For example:www.site.com -> Controller: siteroot. Method: runadmin.site.com -> Controller: adminsite. Method: runmoderator.site.com -> Controller: moderatorsite. Method: rundirector.site.com -> Controller: directorsite. Method: rundefault: supervisor: partnersite. Method: runThe run method performs an action for these sub-domains, and will bring a page from the overseers modules.I use kohana v3.0