Ways of reading settings from config.ini.php for javascript?

For a custom plugin I am want to look into how to get values from config.ini.php into javascript, are there any standard ways of doing this?

foo = bar.

And get the value of foo.

Seems that I read th documentation badly :slight_smile:

Problem is solved I guess :slight_smile:

1 Like

Alternativly you could look at something like this:

Even better! Thanks Lukas.