language subdomains |
(11-20-2017, 06:31 AM)Narf Wrote:(11-20-2017, 05:53 AM)Kaosweaver Wrote: Have you considered extending the url_helper class: Sigh... my bad, the link covered it with this note: The term “extend” is used loosely since Helper functions are procedural and discrete and cannot be extended in the traditional programmatic sense. Under the hood, this gives you the ability to add to or or to replace the functions a Helper provides. I assumed the OP can read. to the OP each function in the helper is wrapped with: PHP Code: if ( ! function_exists('redirect')) creating the MY_url_helper.php file in the application/helpers folder with the single re-written redirect function to handle the subdomain redirect would work. |
Messages In This Thread |
language subdomains - by sneakyimp - 11-18-2017, 12:42 PM
RE: language subdomains - by Kaosweaver - 11-20-2017, 05:53 AM
RE: language subdomains - by Narf - 11-20-2017, 06:31 AM
RE: language subdomains - by Kaosweaver - 11-20-2017, 09:56 AM
RE: language subdomains - by sneakyimp - 11-21-2017, 11:17 AM
RE: language subdomains - by sneakyimp - 11-22-2017, 12:17 PM
RE: language subdomains - by sneakyimp - 11-22-2017, 02:39 PM
RE: language subdomains - by Kaosweaver - 11-24-2017, 08:12 AM
RE: language subdomains - by myhanet - 12-07-2017, 04:05 PM
|