怎么删除?来自codeigniter的重定向('controller / function')

时间:2014-07-19 16:26:00

标签: php codeigniter

登录成功后,我想重定向到redirect('signinup/loginsucess')

我在localhost中运行。当id执行此操作时,我将转到链接中的?。我想删除?

我的查询启用字符串为true,我的htaccess是

RewriteEngine On
RewriteBase /kkci/
RewriteCond $1 ^(application|system|private|logs)
RewriteRule ^(.*)$ index.php/access_denied/$1 [PT,L]
RewriteCond $1 ^(index\.php|robots\.txt|favicon\.ico|public|assets|css|js|images)
RewriteRule ^(.*)$ - [PT,L]
RewriteRule ^(.*)$ index.php/$1 [PT,L]

1 个答案:

答案 0 :(得分:0)

$config['enable_query_strings'] = TRUE;

将其更改为

$config['enable_query_strings'] = FALSE;

但您需要$config['enable_query_strings'] = TRUE;吗?