Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Vasek18's avatar

Working with files starting with dot at storage disk

I have to keep and work wiht some files in a filesystem on Laravel 5.2 I have a custom disk:

'modules_templates' => [ 'driver' => 'local', 'root' => storage_path().'/modules_templates', ],

Just subfolder in storage folder

Everything works great at local machine, but now I'm trying to deploy my app at forge.laravel (above digitalocean) and when I try to get a file starting with dot (ex. ".description.php") I get not found exception However there is no problem with normal files

Maybe I should use specific environment variable or there is no way to retrieve hidden files on this two services?

Thanks

0 likes
1 reply
Vasek18's avatar

Nah, problem was in difference of directory separator

Please or to participate in this conversation.