|
pageconfig设置如下
$pageConfig['base_url'] = site_url('news/newsList/');
$pageConfig['total_rows'] = $this->count_all();
$pageConfig['per_page'] = 5;
$pageConfig['uri_segment'] = 3;
$pageConfig['full_tag_open'] = '';
$pageConfig['full_tag_close'] = '';
return $pageConfig;
在页码连接上,突然显示成了 http://localhost/index.php/news/newsLis/2
如果设置成$pageConfig['base_url'] = site_url('news/newsLists/');
则页码连接正常显示为 http://localhost/index.php/news/newsLists/2
会自动把末尾的t给弄掉?什么意思啊?????
难道是site_url搞掉?? |
|