Skip to content

Conversation

@stefanhayden
Copy link
Contributor

the old line of code was looking at $_SERVER['PHP_SELF'] which only returns the /index.php file in the web directory and so dirname only returns / and thus only strips all slashes from the $this->requested_url

this change simply takes the $this->requested_url and spits out the PHP_URL_PATH

the old line of code was looking at $_SERVER['PHP_SELF'] which only returns the /index.php file in the web directory and so dirname only returns / and thus only strips all slashes from the $this->requested_url

this change simply takes the $this->requested_url and spits out the PHP_URL_PATH
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.

1 participant