A
A
Actor2013-12-13 12:47:50
Yii
Actor, 2013-12-13 12:47:50

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

3 answer(s)
S
Stanislav Gamayunov, 2013-12-13
@happyproff

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.

A
AleX83Xpert, 2013-12-16
@AleX83Xpert

And if the data should not be available via a direct link, that is protected/data.

M
mydesign, 2013-12-19
@mydesign

Or you can by analogy with the i.site.com subdomain, but usually in the root of the frontend

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question