Advertisement
Guest User

Untitled

a guest
Oct 10th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.13 KB | None | 0 0
  1. <?php
  2. defined("IN_DOCEBO") or die('Direct access is forbidden.');
  3.  
  4. /* ======================================================================== \
  5. | DOCEBO - The E-Learning Suite |
  6. | |
  7. | Copyright (c) 2010 (Docebo) |
  8. | http://www.docebo.com |
  9. | License http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt |
  10. \ ======================================================================== */
  11.  
  12. /**
  13. * Db info
  14. * -------------------------------------------------------------------------
  15. * db type, now mysql and mysqli are supported
  16. * db server address
  17. * db user name
  18. * db user password
  19. * db name
  20. * charset to use in the db connection
  21. */
  22. $cfg['db_type'] = 'mysql';
  23. $cfg['db_host'] = 'localhost';
  24. $cfg['db_port'] = '3306';
  25. $cfg['db_user'] = 'root';
  26. $cfg['db_pass'] = 'root';
  27. $cfg['db_name'] = 'epsa';
  28. $cfg['db_charset'] = 'utf8';
  29.  
  30. /**
  31. * Tables prefix
  32. * -------------------------------------------------------------------------
  33. * prefix for the core tables
  34. * prefix for the lms tables
  35. * prefix for the cms tables
  36. * prefix for the scs tables
  37. * prefix for the ecom tables
  38. * prefix for the ecom tables
  39. */
  40. $cfg['prefix_fw'] = 'core';
  41. $cfg['prefix_lms'] = 'learning';
  42. $cfg['prefix_cms'] = 'cms';
  43. $cfg['prefix_scs'] = 'conference';
  44. $cfg['prefix_ecom'] = 'ecom';
  45. $cfg['prefix_crm'] = 'crm';
  46.  
  47. $cfg['api_secret'] = '9f632af184128b609c66ef3e0eacb03b0598bbca';
  48. $cfg['api_key'] = '0c5e1cfc68b7b4628ed8b38b9ea084adfb02db44';
  49. //just for remembering
  50. // $cfg['param_to_check'] = 'd6e3c02cb10baf15da44699ff7c365e2bae45550';
  51.  
  52. // config for push notification
  53. $cfg['gcm_api_key_server'] = 'AIzaSyCSLVwy6Xl_JxOkGcIU__QOKkzoH0jMwm4';
  54.  
  55. /**
  56. * File upload
  57. * -------------------------------------------------------------------------
  58. * upload type (fs|ftp)
  59. * ftphost: the ftp hostname
  60. * ftpport: the ftp port
  61. * ftpuser: the ftp username
  62. * ftppass: the ftp password
  63. * ftppath: the ftp path from the user main home dir to the docebo root folder
  64. */
  65. $cfg['uploadType'] = 'fs';
  66.  
  67. $cfg['ftphost'] = 'localhost';
  68. $cfg['ftpport'] = '21';
  69. $cfg['ftpuser'] = '';
  70. $cfg['ftppass'] = '';
  71. $cfg['ftppath'] = '/';
  72.  
  73. /**
  74. * External smtp config
  75. * -------------------------------------------------------------------------
  76. */
  77. // $cfg['disable_profile_compulsory'] = true;
  78.  
  79. $cfg['use_smtp'] = 'off';
  80. $cfg['smtp_host'] = '';
  81. $cfg['smtp_port'] = '';
  82. $cfg['smtp_user'] = '';
  83. $cfg['smtp_pwd'] = '';
  84.  
  85. /**
  86. * Session custom param
  87. * -------------------------------------------------------------------------
  88. * debug is enabled ?
  89. * session must survive at least X seconds
  90. * session save_path if specified will be used instead of the defaul one
  91. */
  92. $cfg['do_debug'] = false;
  93. $cfg['session_lenght'] = (120 * 60);
  94. $cfg['session_save_path'] = false;
  95. $cfg['demo_mode'] = false;
  96. $cfg['enable_plugins'] = false;
  97.  
  98. /**
  99. * Technical preferences
  100. * -------------------------------------------------------------------------
  101. * filter_tool: the class for input filtering that you want to use
  102. * mail_br: used in mail composition (no longer needed?)
  103. */
  104. $cfg['filter_tool'] = 'htmlpurifier';
  105. $cfg['mail_br'] = "\r\n";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement