php 框架
如:$_SERVER['HTTP_USER_AGENT']
函数参考
$this->load->library('user_agent');
if ($this->agent->is_mobile())
{
$this->load->view('a.php',$this->getpagedata());
}
else
{
$this->load->view('b.php',$this->getpagedata());
}
CI 框架是有自带的,已经搞定了,分享给大家
CI 框架是这么调试图的? 需要加. php?