laravel-pdf
laravel-pdf copied to clipboard
font directory in public don't recognize
hi . i use public_path('assets/fonts/') in config file
this code is ok in localhost but when i upload project in cpanel and export pdf , project give me error for dont find font path. but when i change font path to base_path('resources/fonts/') and copy my fonts in this path in resourse directory , export as well.
why i cant use public_path('assets/fonts/') for font directory ? i don't want to upload fonts in resourse directory :(