I suggest a config/config.php file where all config will live. Then it can have something like:

global $settings;

$settings = array(
    'db' => include 'config/db.php',
    'files' => ...
)

in it. Then this db.php file can just return an array.