Support the ongoing development of Laravel.io →
Configuration Requests
Last updated 2 years ago.
0

Firtly, the getPath method was being required however the define wasn’t receiving the hole paste’s folder. Its *dirname wasn’t working so I switched to app_path().'/Libraries/FPDF/font/' and, in the ending of the method, I’ve put exit; after *$pdf->Output. If not, the browser would show the following characters:

%PDF-1.3 3 0 obj <> endobj 4 0 obj <> stream x�e��N�0��} �R<��?W$@�g(�g^�� ��r���~��w&)����Z�^�cx;Ώ��g���G���W|�E> ���i̔4c{��:� r�+���L&�Ʉ޽s"Hh&h�F2c� 2��nڢ�,���"���L��<�i ��e�i � +I�φi���i4;,��ۜf�:���۝� ���

0

Sign in to participate in this thread!

Eventy

Your banner here too?

allanbobs allanbobs Joined 26 Aug 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.