<?php

use Cake\Core\Configure;
use Josegonzalez\Environments\Environment;

Environment::configure(
    'development',
    true, // Defaults to development
    [
        'Settings.FULL_BASE_URL' => 'http://example.dev',

        'Email.username' => 'email@example.com',
        'Email.password' => 'password',
        'Email.test' => 'email@example.com',
        'Email.from' => 'email@example.com',

        'logQueries' => true,

        'debug' => 2,
        'Cache.disable' => true,
        'Security.salt' => 'SALT',
        'Security.cipherSeed' => 'CIPHERSEED',
    ],
    function () {
        if (!defined('FULL_BASE_URL')) {
            define('FULL_BASE_URL', Configure::read('Settings.FULL_BASE_URL'));
        }
    }
);
