Commit f0642d24 authored by Matthias Stegmann's avatar Matthias Stegmann
Browse files

Merge branch '#29-image-processing' into 'main'

[TASK] Fix image processing for local development

See merge request !57
parents 9ea7a15d da961ba0
Pipeline #10550 passed with stages
in 5 minutes and 41 seconds
<?php
$GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] = '.*';
$GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default'] = [
'charset' => 'utf8',
'dbname' => 'db',
'host' => 'db',
'password' => 'db',
'port' => 3306,
'user' => 'db',
'driver' => 'mysqli',
];
// base config by DDEV
if (getenv('IS_DDEV_PROJECT') == 'true') {
$GLOBALS['TYPO3_CONF_VARS'] = array_replace_recursive(
$GLOBALS['TYPO3_CONF_VARS'],
[
'DB' => [
'Connections' => [
'Default' => [
'charset' => 'utf8',
'dbname' => 'db',
'host' => 'db',
'password' => 'db',
'port' => 3306,
'user' => 'db',
'driver' => 'mysqli',
],
],
],
// This GFX configuration allows processing by installed ImageMagick 6
'GFX' => [
'processor' => 'ImageMagick',
'processor_path' => '/usr/bin/',
'processor_path_lzw' => '/usr/bin/',
],
// This mail configuration sends all emails to mailhog
'MAIL' => [
'transport' => 'smtp',
'transport_smtp_server' => 'localhost:1025',
],
'SYS' => [
'trustedHostsPattern' => '.*',
'devIPmask' => '*',
'displayErrors' => 1,
],
'BE' => [
'debug' => true,
],
'FE' => [
'debug' => true,
]
]
);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment