How can I access the global variable $config…? A standard way would be “global $config;”. I have found that if I need something from modules subarray - I can use “\Yii::$app->getModule(‘user’)->admins;”.
Is there an elegant way to access $config array?
Thank you, All!
Original question: https://www.facebook.com/groups/yii2talk/permalink/2188273441413186/.