Sha256: 745980e2c013372f23b76596f68c3aa74008862fdb074afa21abb14787bcf861

Contents?: true

Size: 710 Bytes

Versions: 1

Compression:

Stored size: 710 Bytes

Contents

<?php

$handle = fopen('<%= fetch(:caretaker_instance_keys_path) %>', 'w');
fwrite($handle, "<?php
\$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['caretaker_instance'] = serialize(
    array_replace_recursive(
        unserialize(\$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['caretaker_instance']),
        array (
            'crypto.' => array(
                'instance.' => array(
                    'publicKey' => '" . str_replace("\\n", '|', file_get_contents('<%= fetch(:caretaker_public_key_path) %>')) . "',
                    'privateKey' => '" . str_replace("\\n", '|', file_get_contents('<%= fetch(:caretaker_private_key_path) %>')) . "'
                )
            )
        )
    )
);
?>");

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dkdeploy-typo3-cms-8.1.0 vendor/create_caretaker_instance_keys.php.erb