1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/omeka-s_ynh.git synced 2024-09-03 19:56:05 +02:00
omeka-s_ynh/conf/local.config.php
Éric Gaspar 641a7b6a59 add mail
2024-06-13 15:22:25 +02:00

51 lines
1.4 KiB
PHP

<?php
return [
'logger' => [
'log' => false,
'priority' => \Laminas\Log\Logger::NOTICE,
],
'http_client' => [
'sslcapath' => null,
'sslcafile' => null,
],
'cli' => [
'phpcli_path' => null,
],
'thumbnails' => [
'types' => [
'large' => ['constraint' => 800],
'medium' => ['constraint' => 200],
'square' => ['constraint' => 200],
],
'thumbnailer_options' => [
'imagemagick_dir' => null,
],
],
'translator' => [
'locale' => 'en_US',
],
'service_manager' => [
'aliases' => [
'Omeka\File\Store' => 'Omeka\File\Store\Local',
'Omeka\File\Thumbnailer' => 'Omeka\File\Thumbnailer\ImageMagick',
],
],
'mail' => [
'transport' => [
'type' => 'smtp',
'options' => [
'name' => 'localhost',
'host' => '127.0.0.1',
'port' => 25, // 465 for 'ssl', and 587 for 'tls'
'connection_class' => 'smtp', // 'plain', 'login', or 'crammd5'
'connection_config' => [
'username' => '__APP__',
'password' => '__MAIL_PWD__',
'ssl' => null, // 'ssl' or 'tls'
'use_complete_quit' => true,
],
],
],
],
];