O
O
Oklick2016-11-24 01:09:00
Yii
Oklick, 2016-11-24 01:09:00

Does Yii2 have tools for working with .cfg files?

Good day.
There was a need to store some of the site settings in .cfg files. I searched the Internet for information on this topic, but could not find anything.
Tell me if there are third-party libraries that allow you to add/remove/edit .cfg for Yii2?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Doniy, 2016-11-24
@Oklick

depending on what format and what's in the .cfg files...
Have you looked, tried???
In general, in order to understand what you need, throw off an example of the config that needs to be parsed. If an ordinary file is of the type "key = value" or "key value", then parsing is not a problem at all.
Cfg is just a configuration file, but what kind of configuration is there, what format is it in, in what form should it be viewed in a specific example. There is no general standardization for them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question