Skip to content

Instantly share code, notes, and snippets.

@atbradley
Created June 3, 2011 19:30
Show Gist options
  • Save atbradley/1006998 to your computer and use it in GitHub Desktop.
Save atbradley/1006998 to your computer and use it in GitHub Desktop.
CodeIgniter configuration to allow both GET variables and segment-based addressing
$config['uri_protocol'] = "PATH_INFO";
$config['enable_query_strings'] = TRUE;
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_-?=+&;';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment