<?php
/**
 * Local Configuration Override
 *
 * This configuration override file is for overriding environment-specific and
 * security-sensitive configuration information. Copy this file without the
 * .dist extension at the end and populate values as needed.
 *
 * @NOTE: This file is ignored from Git by default with the .gitignore included
 * in ZendSkeletonApplication. This is a good practice, as it prevents sensitive
 * credentials from accidentally being committed into version control.
 */

return [
    // Whether or not to enable a configuration cache.
    // If enabled, the merged configuration will be cached and used in
    // subsequent requests.
    //'config_cache_enabled' => false,
    // The key used to create the configuration cache file name.
    //'config_cache_key' => 'module_config_cache',
    // The path in which to cache merged configuration.
    //'cache_dir' =>  './data/cache',
    // ...

    /**
     * database driver setup
     */
    'db' => [
        'driver'    => 'Pdo',
        'dsn'       => 'mysql:dbname=phillybyfoot;host=127.0.0.1',
        'username'  => '',
        'password'  => '',
        'driver_options' => [
            PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES \'UTF8\''
        ],
    ],

    /**
     * Mailer setup
     */
    'smtp_service' => [
        'disable_user_mail' => false,
        'disable_admin_mail' => false,
        'mail_transport' => [
            'name' => 'smtp.mailgun.org',
            'host' => 'smtp.mailgun.org',
            'port' => 587,
            'connection_class' => 'plain',
            'connection_config' => [
                'username' => '',
                'password' => '',
                'ssl' => 'tls'
            ]
        ]
    ],

    /**
     * recaptcha
     */
    'google_captcha' => [
        'site_key'   => '6LfEcIAUAAAAAN9xh5vknULbsBeChSNtKb6oY4gy',
        'secret_key' => '6LfEcIAUAAAAAPfWzRbkiLpz2CsRvUT2HrinCH-U',
        'api_url'    => 'https://www.google.com/recaptcha/api/siteverify'
    ],

];

