tcpdf configuration |
(07-28-2022, 12:59 PM)dgvirtual Wrote:(07-11-2022, 12:07 PM)Erwin Wrote: Hi,Mhm, if you look at the code of tcpdf, https://github.com/tecnickcom/TCPDF/blob...php#L19484 , you see that the variable you want to set is a global that is not automatically expected to be set, so you might try to set it yourself using Hi, I think I have found a nice solution now: I have copied tcpdf_config.php to app/Config/, and added define('K_TCPDF_EXTERNAL_CONFIG', true); at the beginning. Then, I added this new config file in composer.json: Code: "autoload": { Finally, I did a "composer dump-autoload" to update the autoloader. All configuration changes can be done in app/Config/tcpdf_config.php now. |
Messages In This Thread |
tcpdf configuration - by Erwin - 07-07-2022, 07:17 AM
RE: tcpdf configuration - by dgvirtual - 07-11-2022, 08:42 AM
RE: tcpdf configuration - by Erwin - 07-11-2022, 12:07 PM
RE: tcpdf configuration - by dgvirtual - 07-28-2022, 12:59 PM
RE: tcpdf configuration - by Erwin - 08-04-2022, 03:14 PM
RE: tcpdf configuration - by getsamplecode - 11-25-2024, 08:08 PM
|