Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Marco Matta
Added: Aug 27, 2021 1:58 PM
Modified: Sep 10, 2021 12:19 PM
Views: 542
Tags: sugarcrm
  1. $sugar_config['dbconfig']['db_host_name'] = 'hostname';
  2. $sugar_config['dbconfig']['db_user_name'] = 'username';
  3. $sugar_config['dbconfig']['db_password'] = 'password';
  4. $sugar_config['dbconfig']['db_name'] = 'db';
  5. $sugar_config['site_url'] = 'http://localhost/AAA';
  6. $sugar_config['host_name'] = 'localhost';
  7. $sugar_config['unique_key'] = 'qwertyuiop1234567890asdfghjklzxc';
  8. $sugar_config['session_dir'] = '';
  9. $sugar_config['resource_management']['default_limit'] = 10000;
  10.  
  11. // ver >= 7 (no suitecrm)
  12. $sugar_config['full_text_engine']['Elastic']['host'] = 'localhost';
  13. $sugar_config['full_text_engine']['Elastic']['port'] = '9200';
  14. $sugar_config['full_text_engine']['Elastic']['transport'] = 'http'; // testing environment
  15.  
  16. // disable AWS S3 uploads
  17. $sugar_config['upload_wrapper_class'] = ''; // check if needed
  18.  
  19. // only on localhost machine
  20. $sugar_config['developerMode'] = true; // only on localhost machine
  21. $sugar_config['external_cache_disabled_db'] = true; // only on localhost machine