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

How can i use MY Config File -> K_TCPDF_EXTERNAL_CONFIG not working #744

Open
susanne99 opened this issue Sep 2, 2024 · 0 comments
Open

Comments

@susanne99
Copy link

I'm desperate.
I'm using TCPDF 6.7 with Laravel 11.
I want to use my own tcpdf_config.php in my laravel config folder.
Why? because I don't want to rewrite the config in the vendor directory with every tcpdf update.
To do this you have to set the 'K_TCPDF_EXTERNAL_CONFIG' in MY config file to true.
after that, "php:artisan config:cache" throws an error: "'K_TCPDF_EXTERNAL_CONFIG" is already defined.
I've been trying to fix this problem for hours - no chance.
So the question: How can I use my own "tcpdf_config.php"???

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