This topic contains 2 replies, has 1 voice, and was last updated by info 3 years, 3 months ago.
- November 14, 2013 at 08:49 #1242
I’m trying to write a script that would use the Cb database.
However, I need to set it to read Cb config file so if I change config file parameters connection will always be updated.
I thank you in advance for any help on this subject.November 14, 2013 at 09:17 #1243
Ok, cb_config table has name and value fields. Name is name of settings, val is string or serialized array/object for given setting.
If you are changing simple text value then it is easy.
Serialized array is used when setting has different values for each locale. Then multidimensional array used where keys are language id.
Serialized object is used for storing theme settings.
In any case if you change database settings from external program you may have to clear cache from admin panel of your website because config settings are stored in cache for 1 hour. Cache is automatically cleared if you change config from admin panel.November 15, 2013 at 11:20 #1248
Thank you but this is much more than I can understand…
I will go slowly, step by step 🙂