Sidebar

Preview folder outside of public web?

5 years 6 months ago #2283 by gdwoods
Preview folder outside of public web? was created by gdwoods
I want to offer full length previews while downloads will be purchased. I placed the downloads folder outside of the public web space, but when I set the path in the same manner for the Previews folder (in this case home/loulanza/Previews) - it gives me these errors when I try to add a track:

"Warning JFolder: :files: Path is not a folder. Path: /home/loulanza/public_html/home/loulanza/Previews/released-cds/the-road-not-taken"

and

"Warning: Invalid argument supplied for foreach() in /home/loulanza/public_html/administrator/components/com_mymuse/models/product.php on line 834"

Any suggestions for how I can protect the preview files?

Please Log in to join the conversation.

5 years 6 months ago #2292 by gfisch
Replied by gfisch on topic Preview folder outside of public web?
Hi;

Previews have to be accessible from the web so the player can play them.
Perhaps with some code I could server them from outside the web root, but
if a person can play it, they can find a way to download it.

Gord

El Gordo
Mymusinator

Please Log in to join the conversation.

Time to create page: 0.261 seconds
Powered by Kunena Forum