Posted by alakon on April 18, 2007 at 8:46am
3 followers
Jump to:
| Project: | .mobi |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | alakon |
| Status: | closed (fixed) |
Issue Summary
This module can be used for more than .mobi switching-- you can have it work for any domain if you replace the following line (line 38 in mobi_loader.module):if (substr($_SERVER['HTTP_HOST'], strrpos($_SERVER['HTTP_HOST'], '.')) == '.mobi')
to:if ($_SERVER['HTTP_HOST'] == 'm.neopoet.com') {
where 'm.neopoet.com' is the domain of your mobile-only site.
If somebody has the time, a great feature would be to change this to a variable that can be set in the administration panel.
Cheers,
Andrew
Comments
#1
#2
Automatically closed -- issue fixed for 2 weeks with no activity.