$ config [' uri_protocol'] =' QUERY_STRING&#39 ;;不允许使用AJAX

时间:2015-03-17 11:38:35

标签: ajax codeigniter

我创建的一些Ajax代码运行得很好,但是当我改变了

$config['uri_protocol'] = 'auto'; 

进入

$config['uri_protocol'] = 'QUERY_STRING'; 

它不再有效。任何人都可以提供任何建议吗?


这是关于URI PROTOCOL

的评论
/*
|--------------------------------------------------------------------------
| URI PROTOCOL
|--------------------------------------------------------------------------
|
| This item determines which server global should be used to retrieve the
| URI string.  The default setting of 'AUTO' works for most servers.
| If your links do not seem to work, try one of the other delicious flavors:
|
| 'AUTO'            Default - auto detects
| 'PATH_INFO'       Uses the PATH_INFO
| 'QUERY_STRING'    Uses the QUERY_STRING
| 'REQUEST_URI'     Uses the REQUEST_URI
| 'ORIG_PATH_INFO'  Uses the ORIG_PATH_INFO
|
*/

0 个答案:

没有答案