<?php
return [
    'utf_mode' =>
        [
            'value' => true,
            'readonly' => true,
        ],
    'cache_flags' =>
        [
            'value' =>
                [
                    'config_options' => 3600,
                    'site_domain' => 3600,
                ],
            'readonly' => false,
        ],
    'cookies' =>
        [
            'value' =>
                [
                    'secure' => false,
                    'http_only' => true,
                ],
            'readonly' => false,
        ],
    'crypto' =>
        [
            'value' =>
                [
                    'crypto_key' => 'be1vwzzzakokq4x32vwcgwp421egcfo9',
                ],
            'readonly' => true,
        ],
    'connections' =>
        [
            'value' =>
                [
                    'default' =>
                        [
                            'className' => '\\Bitrix\\Main\\DB\\MysqliConnection',
                            'host' => 'localhost',
                            'database' => 'bxstore_ru',
                            'login' => 'bxstore_ru',
                            'password' => 'xYpT|ai`g!=ESE1V',
                            'options' => 2,
                        ],
                ],
            'readonly' => true,
        ],
    'session' =>
        [
            'value' =>
                [
                    'mode' => 'default',
                    'handlers' =>
                        [
                            'general' =>
                                [
                                    'type' => 'database',
                                ],
                        ],
                    'readonly' => true,
                ],
            'readonly' => false,
        ],

    'services' => [
        'value' => [
            \Mibazarow\Bxstore\Service\CatalogSortService::class => [
                'className' => \Mibazarow\Bxstore\Service\CatalogSortService::class,
            ],
        ],
        'readonly' => true,
    ],
    'cache' => [
        'value' => [
            'type' => 'memcache',
            'memcache' => [
                'host' => '127.0.0.1',
                'port' => '11211',
            ],
            'sid' => $_SERVER["DOCUMENT_ROOT"] . "#01"
        ],
    ],
    'exception_handling' =>
        [
            'value' =>
                [
                    'debug' => true,
                    'handled_errors_types' => 4437,
                    'exception_errors_types' => 4437,
                    'ignore_silence' => false,
                    'assertion_throws_exception' => true,
                    'assertion_error_type' => 256,
                    'log' =>
                        [
                            'settings' =>
                                [
                                    'file' => '/var/log/php/exceptions.log',
                                    'log_size' => 1000000,
                                ],
                        ],
                ],
            'readonly' => false,
        ],
];
