|
发表于 2007-11-30 13:37:45
|
显示全部楼层
是的,这里最好不要用中文,但,是可以修改的。
在 config.php 中有个配置选项:- /*
- |--------------------------------------------------------------------------
- | Allowed URL Characters
- |--------------------------------------------------------------------------
- |
- | This lets you specify which characters are permitted within your URLs.
- | When someone tries to submit a URL with disallowed characters they will
- | get a warning message.
- |
- | As a security measure you are STRONGLY encouraged to restrict URLs to
- | as few characters as possible. By default only these are allowed: a-z 0-9~%.:_-
- |
- | Leave blank to allow all characters -- but only if you are insane.
- |
- | DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
- |
- */
- $config['permitted_uri_chars'] = 'a-z 0-9~%.:_-';
复制代码 大概意思就是说,允许出现在URL中的字符,这是个正则表达式的一部分,怎样允许出现中文,大家给帮帮忙吧!呵呵~~~ |
|