开发者

CodeIgniter 2.0 upgrade - now links have "?" appended

I upgraded CI from 1.7.2 to 2.0. It's "mostly" working, except all the links that are g开发者_StackOverflow社区enerated are putting a "?" after the base URL, but before the rest of the URL.

So what should be:

www.site.com/aController

Is being generated like:

www.site.com/?aController

Anyone know how to solve this issue?

Thanks, Steve


Set $config['enable_query_strings'] to FALSE in config.php.

This is covered along with all other random snags in my article:

http://philsturgeon.co.uk/news/2010/05/upgrading-to-codeigniter-2.0

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜