$config['enable_query_strings'] adding "?" to my URL |
[eluser]ibnclaudius[/eluser]
When I set $config['enable_query_strings'] to TRUE, it adds "?" to my URLs, for example: http://localhost/bloompit/entrar http://localhost/bloompit/?entrar http://localhost/bloompit/entrar?next=ht...ther-title http://localhost/bloompit/?entrar?next=h...ther-title How can I fix it?
[eluser]ibnclaudius[/eluser]
But I need it because I'm using facebook-php-sdk.
[eluser]InsiteFX[/eluser]
Add this - ./application/config/config.php. Code: $config['permitted_uri_chars'] = 'a-z 0-9~%?=&.:_\-'; Add this - ./application/core/MY_Input. Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Add this ./ .htaccess. Code: php_value default_charset utf-8
[eluser]ibnclaudius[/eluser]
The problem persists, still adding "?" to my URLs. ./application/config/config.php Code: $config['permitted_uri_chars'] = 'a-z 0-9~%?=&.:_\-@'; ./application/core/MY_Input Code: <?php ./.htacces Code: php_value default_charset utf-8
[eluser]InsiteFX[/eluser]
Turn off enable_query_strings, you do not need it with the code I gave you above. And use REQUEST_URI Protocol.
[eluser]InsiteFX[/eluser]
I bought the CodeCanyon EasyMenu system and converted it to CI and that was how I ended up getting it to work after changing all the javascript url's. This letsme use drag and drop menu position changing in my backend dashboard. Use CI's input->post and input->get EasyMenu Took me about two weeks to get it to work right LOL |
Welcome Guest, Not a member yet? Register Sign In |