Support the ongoing development of Laravel.io →
Security Cache Blade
Last updated 2 years ago.
0

Considering these files are local to the server, you probably don't want to be trying to open them via a HTTP request when you have direct access to the files.

asset returns a URL. You most likely want to use a 'file path' to pass to file_get_contents.

Last updated 7 years ago.
0

Thanks lagbox.

I switched to that earlier and it works as expected, but does my issue point to a larger concern?

0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.