Sunday, August 9, 2009

Configure CodeIgniter to allow debugging

Everytime i tried to debug with xdebug and codeigniter i get the error that it was not a valid url.
This happens because the debugger adds some parameters into the querystring.

To solve this problem i had to edit the config.php this way:
    
 $config['enable_query_strings'] = TRUE;   
 $config['permitted_uri_chars'] = '';   
 $config['uri_protocol'] = "PATH_INFO";   
   
Now you can debug and send all the parameters you want in the querystring.

No comments:

Post a Comment