D
D
Dmitry2020-02-25 17:49:42
Yii
Dmitry, 2020-02-25 17:49:42

How to pass parameters in Yii?

Tell me, please, I have 'layout' => 'default' in my config/web.php file.
There is a settings table in the database, there is a params and value column, layout is written in params and default2 is in value. Tell me how to make it so that the data is transferred from the database and not from the config/web.php file?
Thus, I just want to make many more different settings for the site!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question