lundi 2 décembre 2019

Laravel when i reading a html file in the public directory does not read the JS files next to html file in public

Sorry, I don't speak English well, I use Krpano tools software for virtual tours web in laravel . this The software outputs the files html and js and many folder for run virtual tour. When uploadingenter image description here zip this outputs and upload from web in laravel

enter image description here

When I upload this zip output to public folder from form in blade and controller.When I want to save it Zip exteact in controller and saves it to public directory. When I call, the files are not read. Because Java Script's path is defined in public. This is going to be repeated for hundreds of outputs vitual tour . But because Js file is in the public folder doesn't read it in blade file . beacuse does not exist in view directory




Aucun commentaire:

Enregistrer un commentaire