2018-11-06 19:03:17 +01:00

73 lines
2.1 KiB
PHP
Executable File

<?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.
*/
if (!is_null($_SERVER) && isset($_SERVER["REQUEST_URI"]))
{
$uri = explode("/", $_SERVER["REQUEST_URI"]);
if ($uri[3] === "publicTest")
return include "test.local.php";
}
return [
'doctrine' => [
'connection' => array(
'default' => array(
'params' => [
'user' => 'root',
'password' => '123456',
'host' => '127.0.0.1',
'dbname' => 'silas_wordRotator',
'driverOptions' => array(
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8'
),
'useStrict' => true,
'charset' => 'utf8'
],
),
),
],
'mailEinstellungen' => array(
'options' => array(
'name' => 'Stories',
'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' => 'local@silas.link',
),
"contact" => [
"prefix" => "[WR]",
"contact-email" => "wordrotator@silas.link",
"contact-name" => "Admin",
],
'systemVariables' => array(
'passwordHash' => '123',
'websiteName' => '',
'maxAgeOfUserCodes' => 2 //In Tagen
),
'view_manager' => [
'display_exceptions' => true,
],
"userManager" => [
"canRegister" => true
],
];