<?php
return [
    'settings' => [
        'displayErrorDetails' => false, // set to false in production
        'addContentLengthHeader' => false, // Allow the web server to send the content-length header

        // Renderer settings
        'renderer' => [
            'template_path' => __DIR__ . '/../templates/',
        ],

        // Monolog settings
        'logger' => [
            'name' => 'admin',
            'path' => isset($_ENV['docker']) ? 'php://stdout' : __DIR__ . '/../logs/admin.log',
            'level' => \Monolog\Logger::DEBUG,
            'type' => 'rotating_file',
            'max_files' => 10
        ],
        
        // cdn
        // 'cdn' => [
        //     'default' => 'https://static.wemadesvc.com',
        //     'maintenance' => 'https://mir4-live-hp.wemade.com',
        // ], 

        // // localization
        // 'localization' => [
        //     'languageParamName' => 'lang',
        //     'languageCookieExpires' => 30 * 86400, // cookie expires
        //     'acceptLanguages' => [
        //         'ko'
        //         //, 'en', 'zh-Hans', 'zh-Hant', 'ja'
        //         // 'ko_KR', 'en_US', 'zh_CN', 'zh_TW', 'ja_JP'
        //     ],
        //     'defaultLanguage' => 'ko'
        // ],

        'storage' => [
            'type' => 'blob', //ftp or blob
            //ftp옵션
            /*
            'host' => 'mir4.ftp.infralab.net',
            'id' => 'mir4-live-hp',
            'pw' => 'Alfm4eoqkr1!',
            'url' => 'https://mir4-live-hp.wemade.com'
            */
            //blob옵션
            
            'container' => 'inno',
            'id' => 'innofile',
            'pw' => 'C/Jg2Gcjzu0lBGBhc241bj7fhTVOzMfa3V7fm0W5ndL9TFoMyu3Yt0XlPnICAGNMBknKiofUYV38+AStXUSVQw==',
            'url' => 'https://innofile.blob.core.windows.net/inno'
        ],
        
        'port' => [
            'market' => 51130,
            'wallet' => 51140
        ],
    ],
];
