We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8810a70 + efb47c2 commit e2bc983Copy full SHA for e2bc983
src/FpdfServiceProvider.php
@@ -43,7 +43,7 @@ public function register()
43
*/
44
public function registerFpdf()
45
{
46
- if(config('fpdf.font_path') !== null) {
+ if(config('fpdf.font_path') !== null && !defined('FPDF_FONTPATH')) {
47
define('FPDF_FONTPATH', config('fpdf.font_path'));
48
}
49
0 commit comments