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

Inconsistencies with DOC__ROOT #82

Open
Sephster opened this issue Feb 16, 2021 · 0 comments
Open

Inconsistencies with DOC__ROOT #82

Sephster opened this issue Feb 16, 2021 · 0 comments

Comments

@Sephster
Copy link
Collaborator

The DOC__ROOT const is supposed to be set with a trailing forward slash but in at least one of its use cases, we concatenate with a string that leads with a forward slash, causing a double forward slash in the path.

It appears that Apache will handle this gracefully but NginX does not and will fail to find the included file.

Suggested fix is to remove any forward slashes at the start of strings concatenated with the DOC__ROOT constant.

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

No branches or pull requests

1 participant