<?php

$GLOBALS['TYPO3_CONF_VARS'] = array_replace_recursive(
    $GLOBALS['TYPO3_CONF_VARS'],
    [
        'BE' => [
            'installToolPassword' => '$2y$12$h8p5JOqRdE2ze/daTBKeDuF6kDnbRjiU2iQs9PoD4WhpERyGepIV2',
            'debug' => true,
            'cookieSameSite' => 'lax',
            'HTTP' => [
                'Response' => [
                    'Headers' => [
                        'csp' => 'Content-Security-Policy: default-src \'self\' \'data:\' *.ddev.site *.gstatic.com cdnjs.cloudflare.com piwik.wohnservice-wien.at *.ytimg.com *.googlevideo.com *.youtube-nocookie.com *.googleapis.com *.wien.gv.at *.google.com \'unsafe-eval\' \'unsafe-inline\' \'script-src-elem\'',
                    ],
                ],
            ],
        ],
        'FE' => [
            'debug' => true,
        ],
        // This GFX configuration allows processing by installed ImageMagick 6
        'GFX' => [
            'processor' => 'ImageMagick',
            'processor_path' => '/usr/bin/',
            'processor_path_lzw' => '/usr/bin/',
        ],
        'SYS' => [
            'cookieDomain' => '/\.ddev\.site$/',
            'trustedHostsPattern' => '.*',
            'devIPmask' => '*',
            'displayErrors' => 1,
        ]
    ]
);
