$config->addEmailServer('<email server alias>', new SMTPEmailServer(new EmailServerConfig(array('<email server addresses>'), SMTPEmailServer::DEFAULT_PORT, '<email server user>', '<email server password>')));
/*$config->addOAuthClient(
    '<oauth client alias>',                     //OAuth client alias.
    new OAuthClient(                            //Custom OAuthClient implementation
        new OAuthClientConfig(
            new OAuthClientKeys(
                '<consumer key>',               //OAuth client consumer key.
                '<consumer secret>'             //OAuth client consumer secret.
            ),
            new OAuthClientUrls(
                '<request token url>',          //Request token URL.
                '<authorisation url>',          //Authorisation URL.
                '<access token url>',           //Access token URL.
                '<access token refresh url>',   //Access token refresh URL.
                '<authentication url>',         //Authentication URL.
                '<callback url>'                //Callback URL.
            )
        )
    )
);*/
/**
 * Add themes here
 */
$config->addTheme('<theme alias>', new Theme(new ThemeConfig(__DIR__ . '/path/to/theme')));
/**
 * Set defaults here.
 */
$config->setDefaultDatabase('<database alias>');
$config->setDefaultEmailServer('<email server alias>');
$config->setDefaultOAuthClient('<oauth client alias>');
$config->setDefaultTheme('<theme alias>');
<?php

require_once __DIR__ . '/config/config.inc.php';
$config = new Config();
$config->addDatabase('restaurant_buddy', new MySQLDatabase(new DatabaseConfig('127.0.0.1', MySQLDatabase::DEFAULT_PORT, 'restaurant_buddy', 'root', '')));
$config->addTheme('restaurantbuddy', new Theme(new ThemeConfig(__DIR__ . '/../themes/restaurantbuddy')));
/**
 * Set defaults here.
 */
$config->setDefaultDatabase('restaurant_buddy');
$config->setDefaultTheme('restaurantbuddy');