Closed rahulrajpal2911 closed 4 years ago
Found a solution after debugging it for hours:
Just assign roots value like below don't forget to change the path and url
'roots' => array( array( 'driver' => 'LocalFileSystem', 'path' => DIR . '/../public/files/', 'URL' => 'http://domainname.com/files/' ) ),
Amazing plugin, saved my lot of time.
I am using laravel 7 and it is working fine on my local system but, on the server I'm having a very minor configuration mismatch.
My public_html path is : /home/something/public_html/example.com My root laravel path is : /home/something/laravel/example.com
Now when I open elFinder dialog, it creates a public folder inside the root directory and therefore my application is not able to find it in the public directory. Also storage:link command is doing the same thing.
Things I've tried: 1) Changing path in roots of elfinder config file 2) Tried to change filesystems file but no success
Please help! My client has given me a shared hosting and I am new to laravel.