Config changes in 5.7.4?

Permalink
Hi,

I've worked on some add-ons and created them for/in 5.7.3.x. Within the code I use the file config for, well..., config data.
I noticed that something has changed. At least, I think so.

I used to get some config values from the "generated override" config.php with something like:
$cfg->get('some.value.that.we.need');


Somehow, I now need to include 'config' else it will look in de some.php file.
$cfg->get('config.some.value.that.we.need');


Am I wrong and was it always like this or has something changed (5.7.4 update?)

SnefIT

[\code]

SnefIT
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi SnefIT,

Are you trying to store and get values from the Config table in packages?
SnefIT replied on at Permalink Reply
SnefIT
File config. It works, but I need to add the file in the "key" now. Didn't
have to in 5.7.3.




On 4 juni 2015 07:42:34 concrete5 Community <discussions@concretecms.com>
wrote:

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.