NordineA Posted December 7, 2020 Share Posted December 7, 2020 Hello everyone, First, thank you for reading this post. I'm new to the PrestaShop community. My PrestaShop version is 1.7.4. Well I encountered an issue using the DomPDF package in order to generate PDF. I think the package is not loading properly in my autoload.php file. Here is my autoload.php file content : Here is how I use DomPDF inside my module : If someone could help me on this, would be appreciated :) Thanks, have a nice day ! Nordine. Link to comment Share on other sites More sharing options...
Eldewiny Posted May 11, 2021 Share Posted May 11, 2021 You can use it like this require_once(dirname(__FILE__) . '/dompdf/autoload.inc.php'); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now