how do i add win 7 to application/config/user_agents.php - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: how do i add win 7 to application/config/user_agents.php (/showthread.php?tid=41819) |
how do i add win 7 to application/config/user_agents.php - El Forum - 05-17-2011 [eluser]R_Nelson[/eluser] how do i add win 7 to application/config/user_agents.php Code: $platforms = array ( right now im getting Unknown Windows OS how do i add win 7 to application/config/user_agents.php - El Forum - 05-17-2011 [eluser]R_Nelson[/eluser] i found the answer by acident i used Code: $this->agent->agent_string() and it game me Code: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 so to put in Windows 7 you need to add Code: $platforms = array ( that will give you Windows 7 so i'm happy now! how do i add win 7 to application/config/user_agents.php - El Forum - 06-06-2011 [eluser]Mike One[/eluser] And just in case you are wondering what Windows Longhorn is... this is Vista.. |