<?php
return [
    'user.passwordResetTokenExpire' => 3600,
    'user.passwordMinLength' => 8,
    'senderName' => 'MP-TECHNIC',
    'senderEmail' => ['noreply@mp-technic.com' => 'MP-Technic'],
    'contactEmail' => 'contact@mp-technic.com',
    'cartEmail' => 'contact@mp-technic.com',
    'adminEmail' => 'admin-tech@mp-technic.com',
    'sendErrorsByMail' => true,
    'dolibarrDocumentsPath' => '',
    // Local Dolibarr (Laragon)
    'dolibarrUrl' => 'http://localhost/dolibarr/htdocs',
    'cdnPath' => '/home/selim/sites/mp-technic.com/cdn',
    'cdn_base_url' => 'https://cdn.mp-technic.com',
    // Base URL of the Dolibarr instance used by cart export
    // Base URL used by cart export to Dolibarr
    'dolibarr_url' => 'http://localhost/dolibarr/htdocs',
    'db' => [
        'class' => 'yii\db\Connection',
        'dsn' => 'mysql:host=localhost;dbname=mptechnic_test',
        'username' => 'root',
        'password' => '',
        'charset' => 'utf8mb4',

        // Schema cache options (for production environment)
        //'enableSchemaCache' => true,
        //'schemaCacheDuration' => 60,
        //'schemaCache' => 'cache',
    ],
    'entreports' => [
        'fr' => [11],
        'tn' => [2],
    ],
    'solr' => [
        'tn' => [
            'dev' => 'mptechnic',
            'prod' => 'mptechnic',
        ],
        'fr' => [
            'dev' => 'mptechnic',
            'prod' => 'mptechnic',
        ],
      ],
];
