php - How to get and store images on different location - yii2 -
i have 3 environments on server as:
1. prod 2. pre_prod 3. test
the project developed in yii2 , live. have lot of images on frontend/web/images folder. everytime when want compare both environments prod , pre_prod, have make copy of images in both folder.
is there way upload , show images different url cdn. means upload in folder in public_html/images , use same in environment rather frontend/web/images of each.
example : want type of structure :
public_htmlimages public_html/prod/ public_html/pre_prod/ public_html/test/ i want write code upload images in pulic_html/images/ , refer available environment, possible?
Comments
Post a Comment