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

I replaced the $_SERVER['DOCUMENT_ROOT'] occurences #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

I replaced the $_SERVER['DOCUMENT_ROOT'] occurences #1

wants to merge 2 commits into from

Conversation

simon-dt
Copy link

Because $_SERVER['DOCUMENT_ROOT'] is evil and not to be built upon ;-)

It's in the tcpdf library, perhaps they have their own git repository where i should push a configurable document root solution.

Because $_SERVER['DOCUMENT_ROOT'] is evil and not to be built upon!
@brendo
Copy link
Owner

brendo commented Jul 20, 2011

Funnily enough it does have a git repo, it's just hosted on Sourceforge so collaboration isn't as seamless as it could be.

I have forward this pull request diff to the creator for inclusion.

@simon-dt
Copy link
Author

Yeah, i couldn't find it on github either.

The commit i sent is a symphony-only fix, it uses symphony's DOCROOT define so the tcpdf creator has to do this in another way like, say, adding a variable to their config file ..

@brendo
Copy link
Owner

brendo commented Jul 21, 2011

Doh, yeah oversight by me. The TCPDF library already has some checks in the config file, but you're correct, this particular commit doesn't need to be added to the actual library.

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.

2 participants