用户
 找回密码
 入住 CI 中国社区
搜索
查看: 3729|回复: 1
收起左侧

[bug]'enable_query_strings'=true

[复制链接]
发表于 2008-3-21 22:19:05 | 显示全部楼层 |阅读模式
当 $config['enable_query_strings'] = true;



文件 system\libraries\Router.php
function _set_routing()
{
  // Are query strings enabled in the config file?
  // If so, we're done since segment based URIs are not used with query strings.
  if ($this->config->item('enable_query_strings') === TRUE AND isset($_GET[$this->config->item('controller_trigger')]))
  {
   $this->set_directory(trim($this->uri->_filter_uri($_GET[$this->config->item('directory_trigger')])));//加上这行
   $this->set_class(trim($this->uri->_filter_uri($_GET[$this->config->item('controller_trigger')])));
发表于 2008-3-22 00:47:39 | 显示全部楼层
这是什么 BUG?

本版积分规则