TCPDF icon indicating copy to clipboard operation
TCPDF copied to clipboard

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

Open susanne99 opened this issue 5 months ago • 0 comments

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"???

susanne99 avatar Sep 02 '24 05:09 susanne99