Answer the question
In order to leave comments, you need to log in
Yii where to place the uploads folder?
There is Yiinializr with 2 domains admin.site.com -> protected.backend.www and site.com -> protected.frontend.www respectively. There is an image editor for the front in the admin panel, hence the question is where is it better to organize the uploads folder?
Answer the question
In order to leave comments, you need to log in
If the images are to be accessed via a direct link from the frontend (for example site.com/images/0003.jpg
), then the folder should be placed in the folder with the input script ( index.php
) of the frontend.
And if the data should not be available via a direct link, that is protected/data
.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question