<?php

return array(
    'yiiDebug' => false,
    'yiiTraceLevel' => 1,
    'language' => 'it',
    'configWeb' => array(

        'components' => array(
            'db' => array(
                'connectionString' => 'mysql:host=127.0.0.1;dbname=eventserverdb_trento',
                'emulatePrepare' => true,
                'username' => 'kria',
                'password' => kria_load_secret('db'),
                'charset' => 'utf8',
            ),
            'cache' => array(
                'class' => 'system.caching.CFileCache',
                'cachePath' => 'd:/cache',
            ),
        ),
        'params' => array(
            'cached_queries' => true,
            'allowUserWidgetAddPlate' => array(
                'enable' => true,
                'plateListId' => 390,
                'adminEmail'=>'n.gasbarro@kria.biz',
                'sendEmailToAdmin'=>'1',
                'startEndDeltaTime' => '2', //hours
                'nameSite' => 'Richiesta di accesso ZTL',
                'nameOwner' => 'Comune di Amalfi',
                'emailOwner' => 'noreply@kria.biz',//'info@amalfi.gov.it',
                'logoUrl'=>'png/logo_amalfi.png',
                'numero_richieste_30_days' => '3', //Numero di richieste mensili per singola targa
                'disponibilita_varco' => '5',
                'recaptcha_secret' => '6LcyQ5sUAAAAAM0iGlOlsG41h2D8UL-_DmVNG141',
                'mailUserTemplate' => 'userZtlWidget',
                'request_type' => array(
                    'Richiesta1',
                    'Richiesta2',
                    'Richiestan'),
                'linkNote' => array(
                    'privacy'=>'www.privacy.it',
                    'ordinanze' =>'www.ordinanze.it',
                    'sitoComune' => 'www.sitocomune.it'),
                'plate_auth_enable' => '1',
                'plate_auth_confirmed' => '1',
                ),
            'selectedbyuserid' => true,
            'pdfPassword' => 'all',
            'listsType' => 'both',
            'eventsToShow' => 'all',
            'photoEditingMode' => 'obscure',
            'showOcrTooltip' => false,
            'showICETRATooltip' => false,
            'deviceType' => 'ztl',
            'ReportPrinterFactory' => array(
                'ReportPrinter' => 'ReportPrinterMilano',
            ),
            'event' => array(
                'report' => array(
                    'logo' => '',
                    'text' => '',
                ),
            ),
        ),

    ),
);
