I have read the article about moving the download folder to protect your shop & folders. Is it as simple as renaming the two config files?
I would like to store the download files outside of the shop
I have read the article about moving the download folder to protect your shop & folders. Is it as simple as renaming the two config files?
I would like to store the download files outside of the shop
Learning Fast.
Eden Craft Supplies
Not renaming the files but the entry in them forIs it as simple as renaming the two config files?
Code:define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
Zen-Venom Get Bitten
Sorry, that is what I meant to say.
So, if I wanted to move the download outside of the site, for example, if using a FTP and you were to drill down to the download site was:as long as the config files were re-written you could havebuild_shops -> mysites -> zencart_shop1Then would you write in the config filesbuild_shops -> feed -> download_for_zencart_shop1orbuild_shops/feed/download_for_zencart_shop1feed/download_for_zencart_shop1
Learning Fast.
Eden Craft Supplies
I think that a trailing slash is in order
As long as you have created a folder for "feed" and under that one for "download_for_zencart_shop1"Code:build_shops/feed/download_for_zencart_shop1/
Zen-Venom Get Bitten
Wait a minute here - the real point is to have it *outside* the public html folder. So if your old path was
/home/username/public_html/build_shops/mysites/zencart_shop1/download/
the new path should be
/home/username/download
or perhaps
/home/username/zencart_shop1_download
Last edited by swguy; 27 Oct 2015 at 02:13 AM. Reason: Fixed per Kobra suggestion
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Not according to this FAQOriginally Posted by swguy
https://www.zen-cart.com/content.php...etter-security
Zen-Venom Get Bitten
Originally Posted by carlwhat
From the FAQOriginally Posted by swguy
Notice the FULL path in the FAQ vs a relative path suggested by swguyCode:define('DIR_FS_DOWNLOAD', '/home/my_user_name/download/');
Zen-Venom Get Bitten
Kobra is 100% correct - I updated my post to show the full path. Thanks for catching that.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Learning Fast.
Eden Craft Supplies