Using require/require_once() in a functions file
<p>my functions.php file is just a placeholder for many different functions. I have another file settings.php that I use to store different settings. Some of the functions in functions.php will need to access some of the variables in settings.php, so I tried:</p>

<pre><code>require("settings.php")
</code></pre>

<p>on top of the functions.php file, but that does not seem to give my functions access to the variable in settings.php. I need to put require("settings.php") in every function separately.</p>

<p>Is there a way I can declare the variables in settings.php to be accessible globally to all functions defined in functions.php?</p>

<p>Thank you,</p>
