Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- return array(
- /*
- 'db' => array(
- 'driver' => 'Mysqli',
- 'hostname' => 'localhost',
- 'database' => 'promekweb',
- 'charset' => 'UTF8',
- 'options' => array('buffer_results' => true),
- 'driver_options' => array("MYSQLI_OPT_LOCAL_INFILE" => true) //server per poter utilizzare "load data local infile"
- ),
- */
- 'db' => array(
- 'driver' => 'Mysqli',
- 'hostname' => '192.168.0.1',//localhost
- 'database' => 'promekweb',
- 'charset' => 'UTF8',
- 'options' => array('buffer_results' => true),
- 'driver_options' => array("MYSQLI_OPT_LOCAL_INFILE" => true), //server per poter utilizzare "load data local infile"
- 'adapters'=>array(
- 'servizi-clienti' => array(
- 'driver' => 'Mysqli',
- 'host' => '192.168.0.1',//localhost
- 'port' => '3306',
- 'database' => 'promek-servizi-cliente',
- 'charset' => 'utf8',
- 'options' => array('buffer_results' => true),
- ),
- 'iaspro' => array(
- 'driver' => 'Mysqli',
- 'host' => '192.168.0.1', //localhost
- 'port' => '3306',
- 'database' => 'iaspro',
- 'charset' => 'utf8',
- 'options' => array('buffer_results' => true),
- ),
- 'master' => array(
- 'driver' => 'Mysqli',
- 'host' => '192.168.0.1',//localhost
- 'port' => '3306',
- 'database' => 'promek-master',
- 'charset' => 'utf8',
- 'options' => array('buffer_results' => true),
- ),
- 'promek' => array(
- 'driver' => 'Mysqli',
- 'host' => '192.168.0.1', //localhost
- 'port' => '3306',
- 'database' => 'promek',
- 'charset' => 'utf8',
- 'options' => array('buffer_results' => true),
- ),
- ),
- ),
- 'service_manager' => array(
- 'factories' => array(
- 'Zend\Db\Adapter\Adapter' => 'Zend\Db\Adapter\AdapterServiceFactory',
- 'BsbFlysystemAdapterManager' => 'BsbFlysystem\Service\Factory\AdapterManagerFactory',
- ),
- 'invokables' => array(
- 'BsbFlysystemManager' => 'BsbFlysystem\Service\FilesystemManager',
- ),
- 'abstract_factories' => array(
- 'Zend\Db\Adapter\AdapterAbstractServiceFactory',
- ),
- ),
- 'dir_csv_aggiornamento' => 'public/csv_aggiornamento', // dir dove viene fatto upload file zip con i csv dei tabellari da aggiornare
- 'dir_csv_aggiornamento_kromeda' => 'public/csv_aggiornamento_kromeda', // dir dove vengono scaricati csv listini da ws kromeda
- 'dir_csv_listini' => 'public/csv_listini', // dir dove vengono generati csv dei listini per il portale gpro (area soci)
- // dir dove si trovano tutte le directory (superCodiceID come nome) delle officine
- // qui vengono salvati tutti i file relativi ad una officina
- 'dir_officine' => 'public/officine',
- // dir con tutte le immagini delle intestazioni vuote per le comunicazioni
- 'dir_intestazioni' => 'public/images/intestazioni',
- 'dir_footer_a4' => 'public/images/footer_a4',
- 'dir_cartoline' => 'public/images/cartoline',
- 'agenda_orario_chiusura_mattino_default' => '12:30',
- 'tipiComunicazione' => array(
- 1 => 'Richiami alla revisione',
- 2 => 'Richiami programmati',
- 3 => 'Richiami dopo 1 anno',
- 4 => 'News, eventi e promo',
- 5 => 'Fatture via mail',
- 6 => 'Preventivi via mail',
- 7 => 'Autorizzazioni lavori',
- 8 => 'Invii liberi',
- 9 => 'Promemoria appuntamenti',
- 10 => 'Promemoria scadenze veicolo',
- 11 => 'Promemoria deposito gomme',
- 12 => 'Auguri di buon compleanno',
- ),
- 'comunicazioni' => array(
- 'num_max_allegati_mail' => 5,
- ),
- 'promek_email' => 'info@promek.it',
- 'promek_emailreturn' => 'noreply@promek.it',
- 'cartolina' => array(
- 'costo' => 50,
- 'giorno_generazione' => 15, // ricordarsi di modificare anche ComunicazioneUtils
- 'ora_generazione' => 22, // ricordarsi di modificare anche ComunicazioneUtils
- ),
- 'targa' => array(
- 'costo' => 25, //costo per le officine
- 'costo_soci' => 20, //costo per i soci
- 'costo_isigess' => 25, //costo per gli utenti isigess
- ),
- 'iva' => 22,
- 'sms' => array(
- 'uri' => 'http://v1.web-servizi.net/post/send.php',
- 'costo' => 7,
- 'post' => array(
- 'smsUSER' => 'PROMEKSMS',
- 'smsPASSWORD' => 'KOLP1526',
- 'smsGATEWAY' => 0,
- 'smsNUMBER' => '+11111111111',
- 'smsTYPE' => 'file.sms',
- 'returnTYPE' => 'JSON'
- )
- ),
- 'fattura_pa' => array(
- 'url_wsdl' => 'https://wsfatturapa.ememo.it/Service1.svc?wsdl',
- 'soap_version' => SOAP_1_1,
- 'costo_attivazione' => 5500,
- 'costo_ricarica' => 5500,
- 'ricarica_num_invii' => 100,
- ),
- 'emailBonifico' => array(
- 'host' => 'pop.gmail.com',
- 'ssl' => 'SSL',
- 'user' => 'bonifici@promek.it',
- 'password' => 'Egfvs4cczDHWw4'
- ),
- 'emailReturnPath' => array(
- 'host' => 'pop3.promek.it',
- 'user' => 'returnmail@promek.it',
- 'password' => 'xCLMyAT25'
- ),
- 'codice_assistenza' => "awse",
- // dati accesso ws kromeda per aggiornamento listini
- 'kromeda' => array(
- 'url' => 'http://80.94.117.223/ws/krwsrest_v12.dll/datasnap/rest/tkrm',
- 'account' => 'viemme',
- 'password' => 'vmprk9347',
- 'sessionKey' => 'DAB74BF4-A76A-4E88-9136-B651B640494A',
- 'api' => array(
- 'endpoint' => 'http://80.94.117.223/ws/krwsrest_v12.dll/datasnap/rest/tkrm/',
- 'username' => 'groupauto',
- 'password' => 'gw9826411',
- 'key' => '672C3600-2B9F-44FC-81B1-26E20EA7D90D' // generato con $endpoint/CreateSessionKey/$username/$password ;)
- )
- ),
- 'tecrmi' => array(
- 'client' => array(
- 'wsdl' => 'https://tecrmi-services.tecalliance.net/40/ServiceVt.asmx?wsdl',
- 'company_name' => 'Groupauto_IT',
- 'username' => 'wsVIN',
- 'password' => 'wsVIN!12'
- )
- ),
- 'haynespro' => array(
- 'soap' => array(
- 'wsdl' => 'https://www.haynespro-services.com/reg/services/Registration?wsdl',
- 'auth' => array(
- 'companyIdentificaton' => 'promek_licence',
- 'distributorPassword' => '1976',//'n08z25r16y1F16j',
- 'username' => 'w.gariboldi@groupauto.it',//'fabrizio.mascarino@gmail.com'
- )
- )
- ),
- 'promek' => array(
- 'manutenzione' => array(
- 'in_manutenzione' => false,
- 'account_promek' => array(
- '0406407'
- ),
- ),
- ),
- 'nms' => array(
- 'db' => array(
- 'driver' => 'Mysqli',
- 'hostname' => '149.202.131.49',
- 'database' => 'gaui_nms',
- 'charset' => 'UTF8',
- 'options' => array('buffer_results' => true),
- 'username' => 'agaweb',
- 'password' => '464w3b'
- )
- ),
- 'webcat' => array(
- 'manutenzione' => array(
- 'in_manutenzione' => false,
- //account abilitati comunque all'accesso in base alla tipologia
- 'account_promek' => array(
- '040640'
- ),
- 'account_officina' => array(
- 'officina.andrea'
- ),
- 'account_socio_operatore' => array(
- 'andrea.demartin@agaweb.it'
- ),
- //targhe soci
- 'account_gpro' => array(
- 'GS0023'
- )
- ),
- 'utenti' => array(
- 'admin' => array(
- 'account' => 'aga',
- 'password' => 'aga'
- )
- )
- ),
- 'sisdi' => array(
- 'webcat' => array(
- 'media_type' => 'application/vnd.agaweb.sisdi+json',
- 'version' => '1'
- )
- ),
- 'bsb_flysystem' => array(
- 'adapters' => array(
- 'webcat-tmp' => array(
- 'type' => 'local',
- 'options' => array(
- 'root' => './data/webcat/tmp'
- )
- ),
- 'webcat-files' => array(
- 'type' => 'local',
- 'options' => array(
- 'root' => './data/webcat/files'
- )
- ),
- 'webcat' => array(
- 'type' => 'local',
- 'options' => array(
- 'root' => './data/webcat'
- )
- ),
- ),
- 'filesystems' => array(
- 'WebCatTmp' => array(
- 'adapter' => 'webcat-tmp',
- ),
- 'WebCatFiles' => array(
- 'adapter' => 'webcat-files',
- ),
- 'WebCat' => array(
- 'adapter' => 'webcat',
- )
- ),
- ),
- // dati accesso ws quattroruote per ricerca targa
- 'quattroruote' => array(
- 'api' => array(
- 'endpoint' => 'http://www.infocar.org/rtwebservices/rtservice.asmx?WSDL',
- 'username' => 'groupauto',
- 'password' => 'cu5tw571',
- 'product_name'=> 'RTWS_EQUIVALENTI' // generato con $endpoint/CreateSessionKey/$username/$password ;)
- )
- ),
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement