In a widget, if I use <?=c::get('myvariable')?> to get a variable from my config.php
in mywidgetname.html.php
file, the variable info is retrieved and I can use it
But if I use the same code in another php file within my widget folder, say lib.php
, it does not get the information.
Kirby 2.5.2
Anyone any ideas?