I made a config.php file where I store some arrays for configuration like LDAP and other things. I need to call it on different templates but I also need to require it into function.php.
When I do this this, I have warning and all my tables become Undefined.
I found this solution : call my config.php into functions.php with :
require ( get_template_directory() . '/config.php' );
Replaced this require from all my tempate/views by