Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change to Segment Helper Function #9

Merged
merged 1 commit into from Feb 9, 2012

Conversation

robertabramski
Copy link
Contributor

I changed the segment function to use REQUEST_URI from the $_SERVER array. The $_GET['_url'] variable wasn't working for me. I couldn't find any documentation of this variable being in the $_GET array by default. This new function also does an integer check to the variable passed in and returns false if not an integer.

gilbitron added a commit that referenced this pull request Feb 9, 2012
Change to Segment Helper Function
@gilbitron gilbitron merged commit d64e5f9 into ronmarasigan:master Feb 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants