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

Initializing mPDF with own config #36

Open
Michal-Erben opened this issue Oct 25, 2022 · 0 comments
Open

Initializing mPDF with own config #36

Michal-Erben opened this issue Oct 25, 2022 · 0 comments

Comments

@Michal-Erben
Copy link

mPDF is initialized with this line$mpdf = new Mpdf($this->getMPDFConfig()); which is correct, but then the extension goes again through those config values in build() function on line 523 and tries to set them as a variables to mPDF which may result in errors, because mPDF does not have those parameters as variables. I don't know if this for is there for any specific reasons, but for me it only resulted in using just mPDF, because I could not set some config values, which were necessary for my code.

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