Advertisement
autodatabasescom

Untitled

Jan 26th, 2019
417
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.00 KB | None | 0 0
  1. <?php
  2. return array(
  3.  
  4. /*
  5. 'db' => array(
  6. 'driver' => 'Mysqli',
  7. 'hostname' => 'localhost',
  8. 'database' => 'promekweb',
  9. 'charset' => 'UTF8',
  10. 'options' => array('buffer_results' => true),
  11. 'driver_options' => array("MYSQLI_OPT_LOCAL_INFILE" => true) //server per poter utilizzare "load data local infile"
  12. ),
  13. */
  14. 'db' => array(
  15. 'driver' => 'Mysqli',
  16. 'hostname' => '192.168.0.1',//localhost
  17. 'database' => 'promekweb',
  18. 'charset' => 'UTF8',
  19. 'options' => array('buffer_results' => true),
  20. 'driver_options' => array("MYSQLI_OPT_LOCAL_INFILE" => true), //server per poter utilizzare "load data local infile"
  21. 'adapters'=>array(
  22. 'servizi-clienti' => array(
  23. 'driver' => 'Mysqli',
  24. 'host' => '192.168.0.1',//localhost
  25. 'port' => '3306',
  26. 'database' => 'promek-servizi-cliente',
  27. 'charset' => 'utf8',
  28. 'options' => array('buffer_results' => true),
  29. ),
  30. 'iaspro' => array(
  31. 'driver' => 'Mysqli',
  32. 'host' => '192.168.0.1', //localhost
  33. 'port' => '3306',
  34. 'database' => 'iaspro',
  35. 'charset' => 'utf8',
  36. 'options' => array('buffer_results' => true),
  37. ),
  38. 'master' => array(
  39. 'driver' => 'Mysqli',
  40. 'host' => '192.168.0.1',//localhost
  41. 'port' => '3306',
  42. 'database' => 'promek-master',
  43. 'charset' => 'utf8',
  44. 'options' => array('buffer_results' => true),
  45. ),
  46. 'promek' => array(
  47. 'driver' => 'Mysqli',
  48. 'host' => '192.168.0.1', //localhost
  49. 'port' => '3306',
  50. 'database' => 'promek',
  51. 'charset' => 'utf8',
  52. 'options' => array('buffer_results' => true),
  53. ),
  54. ),
  55. ),
  56.  
  57.  
  58. 'service_manager' => array(
  59. 'factories' => array(
  60. 'Zend\Db\Adapter\Adapter' => 'Zend\Db\Adapter\AdapterServiceFactory',
  61. 'BsbFlysystemAdapterManager' => 'BsbFlysystem\Service\Factory\AdapterManagerFactory',
  62. ),
  63. 'invokables' => array(
  64. 'BsbFlysystemManager' => 'BsbFlysystem\Service\FilesystemManager',
  65. ),
  66. 'abstract_factories' => array(
  67. 'Zend\Db\Adapter\AdapterAbstractServiceFactory',
  68. ),
  69. ),
  70.  
  71. 'dir_csv_aggiornamento' => 'public/csv_aggiornamento', // dir dove viene fatto upload file zip con i csv dei tabellari da aggiornare
  72. 'dir_csv_aggiornamento_kromeda' => 'public/csv_aggiornamento_kromeda', // dir dove vengono scaricati csv listini da ws kromeda
  73. 'dir_csv_listini' => 'public/csv_listini', // dir dove vengono generati csv dei listini per il portale gpro (area soci)
  74.  
  75. // dir dove si trovano tutte le directory (superCodiceID come nome) delle officine
  76. // qui vengono salvati tutti i file relativi ad una officina
  77. 'dir_officine' => 'public/officine',
  78.  
  79. // dir con tutte le immagini delle intestazioni vuote per le comunicazioni
  80. 'dir_intestazioni' => 'public/images/intestazioni',
  81. 'dir_footer_a4' => 'public/images/footer_a4',
  82. 'dir_cartoline' => 'public/images/cartoline',
  83.  
  84. 'agenda_orario_chiusura_mattino_default' => '12:30',
  85.  
  86. 'tipiComunicazione' => array(
  87. 1 => 'Richiami alla revisione',
  88. 2 => 'Richiami programmati',
  89. 3 => 'Richiami dopo 1 anno',
  90. 4 => 'News, eventi e promo',
  91. 5 => 'Fatture via mail',
  92. 6 => 'Preventivi via mail',
  93. 7 => 'Autorizzazioni lavori',
  94. 8 => 'Invii liberi',
  95. 9 => 'Promemoria appuntamenti',
  96. 10 => 'Promemoria scadenze veicolo',
  97. 11 => 'Promemoria deposito gomme',
  98. 12 => 'Auguri di buon compleanno',
  99. ),
  100.  
  101. 'comunicazioni' => array(
  102. 'num_max_allegati_mail' => 5,
  103. ),
  104.  
  105. 'promek_email' => 'info@promek.it',
  106. 'promek_emailreturn' => 'noreply@promek.it',
  107.  
  108. 'cartolina' => array(
  109. 'costo' => 50,
  110. 'giorno_generazione' => 15, // ricordarsi di modificare anche ComunicazioneUtils
  111. 'ora_generazione' => 22, // ricordarsi di modificare anche ComunicazioneUtils
  112. ),
  113.  
  114. 'targa' => array(
  115. 'costo' => 25, //costo per le officine
  116. 'costo_soci' => 20, //costo per i soci
  117. 'costo_isigess' => 25, //costo per gli utenti isigess
  118. ),
  119.  
  120. 'iva' => 22,
  121.  
  122. 'sms' => array(
  123. 'uri' => 'http://v1.web-servizi.net/post/send.php',
  124. 'costo' => 7,
  125. 'post' => array(
  126. 'smsUSER' => 'PROMEKSMS',
  127. 'smsPASSWORD' => 'KOLP1526',
  128. 'smsGATEWAY' => 0,
  129. 'smsNUMBER' => '+11111111111',
  130. 'smsTYPE' => 'file.sms',
  131. 'returnTYPE' => 'JSON'
  132. )
  133. ),
  134.  
  135. 'fattura_pa' => array(
  136. 'url_wsdl' => 'https://wsfatturapa.ememo.it/Service1.svc?wsdl',
  137. 'soap_version' => SOAP_1_1,
  138. 'costo_attivazione' => 5500,
  139. 'costo_ricarica' => 5500,
  140. 'ricarica_num_invii' => 100,
  141. ),
  142.  
  143. 'emailBonifico' => array(
  144. 'host' => 'pop.gmail.com',
  145. 'ssl' => 'SSL',
  146. 'user' => 'bonifici@promek.it',
  147. 'password' => 'Egfvs4cczDHWw4'
  148. ),
  149.  
  150. 'emailReturnPath' => array(
  151. 'host' => 'pop3.promek.it',
  152. 'user' => 'returnmail@promek.it',
  153. 'password' => 'xCLMyAT25'
  154. ),
  155.  
  156. 'codice_assistenza' => "awse",
  157.  
  158. // dati accesso ws kromeda per aggiornamento listini
  159. 'kromeda' => array(
  160. 'url' => 'http://80.94.117.223/ws/krwsrest_v12.dll/datasnap/rest/tkrm',
  161. 'account' => 'viemme',
  162. 'password' => 'vmprk9347',
  163. 'sessionKey' => 'DAB74BF4-A76A-4E88-9136-B651B640494A',
  164. 'api' => array(
  165. 'endpoint' => 'http://80.94.117.223/ws/krwsrest_v12.dll/datasnap/rest/tkrm/',
  166. 'username' => 'groupauto',
  167. 'password' => 'gw9826411',
  168. 'key' => '672C3600-2B9F-44FC-81B1-26E20EA7D90D' // generato con $endpoint/CreateSessionKey/$username/$password ;)
  169. )
  170. ),
  171.  
  172. 'tecrmi' => array(
  173. 'client' => array(
  174. 'wsdl' => 'https://tecrmi-services.tecalliance.net/40/ServiceVt.asmx?wsdl',
  175. 'company_name' => 'Groupauto_IT',
  176. 'username' => 'wsVIN',
  177. 'password' => 'wsVIN!12'
  178. )
  179. ),
  180.  
  181. 'haynespro' => array(
  182. 'soap' => array(
  183. 'wsdl' => 'https://www.haynespro-services.com/reg/services/Registration?wsdl',
  184. 'auth' => array(
  185. 'companyIdentificaton' => 'promek_licence',
  186. 'distributorPassword' => '1976',//'n08z25r16y1F16j',
  187. 'username' => 'w.gariboldi@groupauto.it',//'fabrizio.mascarino@gmail.com'
  188. )
  189. )
  190. ),
  191.  
  192. 'promek' => array(
  193. 'manutenzione' => array(
  194. 'in_manutenzione' => false,
  195. 'account_promek' => array(
  196. '0406407'
  197. ),
  198. ),
  199. ),
  200.  
  201. 'nms' => array(
  202. 'db' => array(
  203. 'driver' => 'Mysqli',
  204. 'hostname' => '149.202.131.49',
  205. 'database' => 'gaui_nms',
  206. 'charset' => 'UTF8',
  207. 'options' => array('buffer_results' => true),
  208. 'username' => 'agaweb',
  209. 'password' => '464w3b'
  210. )
  211. ),
  212.  
  213. 'webcat' => array(
  214. 'manutenzione' => array(
  215. 'in_manutenzione' => false,
  216. //account abilitati comunque all'accesso in base alla tipologia
  217. 'account_promek' => array(
  218. '040640'
  219. ),
  220. 'account_officina' => array(
  221. 'officina.andrea'
  222. ),
  223. 'account_socio_operatore' => array(
  224. 'andrea.demartin@agaweb.it'
  225. ),
  226. //targhe soci
  227. 'account_gpro' => array(
  228. 'GS0023'
  229. )
  230. ),
  231. 'utenti' => array(
  232. 'admin' => array(
  233. 'account' => 'aga',
  234. 'password' => 'aga'
  235. )
  236. )
  237. ),
  238.  
  239. 'sisdi' => array(
  240. 'webcat' => array(
  241. 'media_type' => 'application/vnd.agaweb.sisdi+json',
  242. 'version' => '1'
  243. )
  244. ),
  245.  
  246. 'bsb_flysystem' => array(
  247. 'adapters' => array(
  248. 'webcat-tmp' => array(
  249. 'type' => 'local',
  250. 'options' => array(
  251. 'root' => './data/webcat/tmp'
  252. )
  253. ),
  254. 'webcat-files' => array(
  255. 'type' => 'local',
  256. 'options' => array(
  257. 'root' => './data/webcat/files'
  258. )
  259. ),
  260. 'webcat' => array(
  261. 'type' => 'local',
  262. 'options' => array(
  263. 'root' => './data/webcat'
  264. )
  265. ),
  266. ),
  267. 'filesystems' => array(
  268. 'WebCatTmp' => array(
  269. 'adapter' => 'webcat-tmp',
  270. ),
  271. 'WebCatFiles' => array(
  272. 'adapter' => 'webcat-files',
  273. ),
  274. 'WebCat' => array(
  275. 'adapter' => 'webcat',
  276. )
  277. ),
  278. ),
  279.  
  280.  
  281. // dati accesso ws quattroruote per ricerca targa
  282. 'quattroruote' => array(
  283. 'api' => array(
  284. 'endpoint' => 'http://www.infocar.org/rtwebservices/rtservice.asmx?WSDL',
  285. 'username' => 'groupauto',
  286. 'password' => 'cu5tw571',
  287. 'product_name'=> 'RTWS_EQUIVALENTI' // generato con $endpoint/CreateSessionKey/$username/$password ;)
  288. )
  289. ),
  290. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement