Hi, I am trying to assign a folder in the site root. By default the CouchCMS uploads folder structure is:
instead, I want the uploads folder out of couch folder to have structure like
In this case, how do I assign the K_UPLOAD_DIR? Let me know which one is correct below:
By the way, will it automatically assign the subfolders "file", "flash", "image", and "media" to the new main "uploads" folder location?
Thank you!
- Code: Select all
/public_html/couch/uploads/
/public_html/couch/uploads/file/
/public_html/couch/uploads/flash/
/public_html/couch/uploads/image/
/public_html/couch/uploads/media/
instead, I want the uploads folder out of couch folder to have structure like
- Code: Select all
/public_html/uploads/
/public_html/uploads/file/
/public_html/uploads/flash/
/public_html/uploads/image/
/public_html/uploads/media/
In this case, how do I assign the K_UPLOAD_DIR? Let me know which one is correct below:
- Code: Select all
1. define( 'K_UPLOAD_DIR', '../uploads' );
2. define( 'K_UPLOAD_DIR', '../uploads/' );
3. define( 'K_UPLOAD_DIR', '/uploads' );
4. define( 'K_UPLOAD_DIR', '/uploads/' );
By the way, will it automatically assign the subfolders "file", "flash", "image", and "media" to the new main "uploads" folder location?
Thank you!