EllisLab/CodeIgniter — pull request #2106 by danhunsaker (2012-12-31 16:03:42+00:00)
Title: Improved extensibility of the URI class

Improved extensibility of the URI class by modifying `_uri_assoc()` to (1) not force a specific list of valid options for `$which`, and (2) build the `$segment_array` and `$total_segments` dynamically regardless of the contents of `$which`.

Signed-off-by: Daniel Hunsaker