<?php
declare(strict_types=1);

use Cake\Core\Configure;

return [
    'debug' => true,

    'App' => [
        'namespace' => 'App',
        'encoding' => 'UTF-8',
        'defaultLocale' => 'en_US',
        'defaultTimezone' => 'GMT',
        'base' => false,
        'dir' => 'src',
        'webroot' => 'webroot',
        'wwwRoot' => dirname(__DIR__) . DS . 'webroot' . DS,
        'fullBaseUrl' => 'https://frontman.co.in/mobileapp_api',
        'imageBaseUrl' => 'img/',
        'jsBaseUrl' => 'js/',
        'cssBaseUrl' => 'css/',
    ],

    'Security' => [
        'salt' => env('SECURITY_SALT', '4ebd755b1639c0ec293c788f1bb3b01e15a9e8f94d84094bdfac77351638580a'),
    ],

    'Datasources' => [
        'default' => [
            'className' => Cake\Database\Connection::class,
            'driver' => Cake\Database\Driver\Mysql::class,
            'persistent' => false,
            'host' => 'localhost',
            'username' => 'lossfzmy_MPn8C2h',
            'password' => 'o6W;La+}ozG3',
            'database' => 'lossfzmy_front12489@&CloudSelf-Reportpropel',
            'encoding' => 'utf8mb4',
            'timezone' => 'UTC',
            'flags' => [],
            'cacheMetadata' => true,
        ],
    ],

    'EmailTransport' => [
        'default' => [
            'className' => 'Smtp',
            'host' => 'mail.frontman.co.in',
            'port' => 587,
            'timeout' => 30,
            'username' => 'support@frontman.co.in',
            'password' => 'Cloudpropel@Frontman-2022',
            'tls' => true,
        ],
    ],

    'Email' => [
        'default' => [
            'transport' => 'default',
            'from' => ['support@frontman.co.in' => 'Frontman'],
        ],
    ],

    'Log' => [
        'debug' => [
            'className' => 'File',
            'path' => LOGS,
            'file' => 'debug',
            'levels' => ['notice', 'info', 'debug'],
        ],
        'error' => [
            'className' => 'File',
            'path' => LOGS,
            'file' => 'error',
            'levels' => ['warning', 'error', 'critical', 'alert', 'emergency'],
        ],
    ],

    'Session' => [
        'defaults' => 'php',
    ],
];