How can we get all root directory path in yii2?
Answer Posted / Mayank Pushkar
In Yii2, you can get the root directory path using Yii::getAlias('@app'). Here's an example: ```php echo Yii::getAlias('@app'); ```
Post New Answer View All Answers
What is the latest version of yii?
3