TCPDF icon indicating copy to clipboard operation
TCPDF copied to clipboard

TCPDF now requires php_curl

Open MartinHusemann opened this issue 2 months ago • 1 comments

Commit aab43ab0a824e956276141a28a24c7c0be20f554 introduced a default curl options array CURLOPT_DEFAULT, but the code is not parsable without php_curl being available.

Without it, parsing fails like this:

PHP Fatal error:  Uncaught Error: Undefined constant "CURLOPT_CONNECTTIMEOUT" in .../include/tcpdf_static.php:115
Stack trace:
#0 .../include/tcpdf_static.php(2511): [constant expression]()

MartinHusemann avatar Dec 09 '25 14:12 MartinHusemann

Already declared as a composer requirement

https://github.com/tecnickcom/TCPDF/blob/7a2701251e5d52fc3d508fd71704683eb54f5939/composer.json#L26

williamdes avatar Dec 09 '25 16:12 williamdes