Categories
(YII2) How to load an image from a folder that is not in the project folder?
How to do it ? Is there something like The whole project is in the editor and you need to load pictures from crop into it Yii::getAlias('@webroot')
Yii::getAlias('@webroot')
Answer the question
In order to leave comments, you need to log in
Maybe something like this?Yii::getAlias('@app') . '/../'
Yii::getAlias('@app') . '/../'
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question