<?php

return [
    'doctrine' => [
        'connection' => array(
            'default' => array(
                'params' => [
                    'user' => 'root',
                    'password' => '123456',
                    'host' => '127.0.0.1',
                    'dbname' => 'silas_beta_wordRotator',
                    'driverOptions' => array(
                        PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8'
                    ),
                    'useStrict' => true,
                ],
            ),
        ),
    ],
    'mailEinstellungen' => array(
        'options' => array(
            'name' => 'test.wordrotator',
            'host' => 'eltanin.uberspace.de',
            'port' => '587',
            'connection_class' => 'plain', // plain oder login
            'connection_config' => array(
                'username' => 'silas',
                'password' => 'l$?%u<M4j)|>sN\\Oj\\/l0VQ%IF',
                'ssl' => 'tls',
            ),
        ),
        'sender' => 'test.framework@silas.link',
    ),
    "contact" => [
        "prefix" => "[WR]",
        "contact-email" => "local@silas.link",
        "contact-name" => "Admin",
    ],

    'systemVariables' => array(
        'passwordHash' => 'sdvsdg',
        'websiteName' => 'Test.WordRotator',
        'maxAgeOfUserCodes' => 2 //In Tagen
    ),
    'view_manager' => [
        'display_exceptions' => true,
    ],
    "userManager" => [
        "canRegister" => true
    ],
];