Core Settings Sugar CRM

Sugar configuration settings. Settings Architecture When you first install Sugar, all of the default settings are located in  ./config....

Sugar configuration settings.

Settings Architecture

When you first install Sugar, all of the default settings are located in ./config.php. As you begin configuring the system, the modified settings are stored in./config_override.php. Settings in ./config.php are overridden by the values in./config_override.php.

Settings

addAjaxBannedModules (Deprecated in future release)

DescriptionDisables a module from being loaded using the AJAX UI. This is generally used if you are experiencing display issues with modules and want to prevent it from being loaded by the AJAX UI.
TypeArray : Module list
Versions6.3.0 - 6.7.12
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['addAjaxBannedModules'][] = 'Accounts';

admin_access_control

DescriptionRemoves Sugar Updates, Upgrade Wizard, Backups and Module Builder from the Admin menu. For developers, these restrictions can be found in./include/MVC/Controller/file_access_control_map.php and overriden by creating./custom/include/MVC/Controller/file_access_control_map.php.
TypeBoolean
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
Override Example
$sugar_config['admin_access_control'] = true;

admin_export_only

DescriptionAllow only users with administrative privileges to export data.
TypeBoolean
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
Override Example
$sugar_config['admin_export_only'] = true;

allow_pop_inbound

DescriptionInbound email accounts are setup to work with IMAP protocols by default. If your email provider required POP3 access instead of IMAP, you can enables POP3 as an available inbound email protocol. Please note that mailboxes configured with a POP3 connection are not supported by SugarCRM and may cause unintended consequences. IMAP is the recommended protocol to use for inbound email accounts.
TypeBoolean
Range of valuestrue and false
Versions5.5.1+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['allow_pop_inbound'] = true;

allow_sendmail_outbound

DescriptionEnables the option of choosing sendmail as an SMTP server in Admin > Email Settings. Sendmail must be enabled on the server for this option to work. Please note that mailboxes configured with sendmail are not supported and may cause unintended consequences. Instances running on the On-Demand environment will have this setting enforced as false.
TypeBoolean
Range of valuestrue and false
Versions5.5.1+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
On-Demand Valuefalse
Override Example
$sugar_config['allow_sendmail_outbound'] = true;

cache_dir

DescriptionThis is the directory SugarCRM will store all cached files. Can be relative to Sugar root directory.
TypeString : Directory
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuecache/
Override Example
$sugar_config['cache_dir'] = 'cache/';

cache_expire_timeout

DescriptionThe length of time cached items should be expired after.
TypeInteger : Seconds
Versions6.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value300
Override Example
$sugar_config['cache_expire_timeout'] = 400;

calendar

DescriptionAn array that defines all of the various settings for the Calendar module.
TypeArray
Versions6.4.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['calendar'] = array();

calendar.day_timestep

DescriptionSets the default day time step.
TypeInteger : Days
Range of values15, 30 and 60
Versions6.4.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value15
Override Example
$sugar_config['calendar']['day_timestep'] = 15;

calendar.default_view

DescriptionChanges the default view in the calendar module.
TypeString
Range of values'day', 'week', 'month' and 'share'
Versions6.4.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['calendar']['default_view'] = 'week';

calendar.items_draggable

DescriptionEnable/Disable drag-and-drop feature to move calendar items.
TypeBoolean
Range of valuestrue and false
Versions6.4.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuetrue
Override Example
$sugar_config['calendar']['items_draggable'] = true;

calendar.items_resizable

DescriptionSets whether items on the calendar can be resized via clicking and dragging.
TypeBoolean
Range of valuestrue and false
Versions6.5.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuetrue
Override Example
$sugar_config['calendar']['items_resizable'] = true;

calendar.show_calls_by_default

DescriptionDisplay/Hide calls by default.
TypeBoolean
Range of valuestrue and false
Versions6.4.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuetrue
Override Example
$sugar_config['calendar']['show_calls_by_default'] = true;

calendar.week_timestep

DescriptionThe default week step size when viewing the calendar.
TypeInteger : Calendar Step Size
Range of values15, 30, and 60
Versions6.4.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['calendar']['week_timestep'] = 30;

check_query

DescriptionValidates queries when adding limits.
TypeBoolean
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuetrue
Override Example
$sugar_config['check_query'] = true;

check_query_cost

DescriptionSets the maximum cost limit of a query.
TypeInteger
Versions5.2.0+
EditionsEnt, Ult
Default Value10
Override Example
$sugar_config['check_query_cost'] = 10;

cron

DescriptionArray that defines all of the cron parameters.
TypeArray
Versions6.5.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['cron'] = aray();

cron.max_cron_jobs

DescriptionMaximum jobs per cron run. Default is 10. If you are using a version prior to 6.5.14, you will need to also populate max_jobsto set this value due to bug #62936 ( https://web.sugarcrm.com/support/issues/62936 ).
TypeInteger
Versions6.5.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value10
Override Example
$sugar_config['cron']['max_cron_jobs'] = 10;

cron.max_cron_runtime

DescriptionDetermines the maximum time in seconds that a single job should be allowed to run. If a single job exceeds this limit, cron.php is aborted with the long-running job marked as in progress in the job queue. The next time cron runs, it will skip the job that overran the limit and start on the next job in the queue. This limit is only enforced when cron.enforce_runtime is set to true.
TypeInteger : Seconds
Versions6.5.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value180
Override Example
$sugar_config['cron']['max_cron_runtime'] = 60;

cron.min_cron_interval

DescriptionMinimum time between cron runs. Setting this to 0 will disable throttling completely.
TypeInteger : Seconds
Versions6.5.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value30
Override Example
$sugar_config['cron']['min_cron_interval'] = 30;

custom_help_url

DescriptionDesignate the URL used to redirect the user to help documentation.
TypeString : Website address
Versions6.4.3+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuehttp://www.sugarcrm.com/crm/product_doc.php
Override Example
$sugar_config['custom_help_url'] = 'http://www.sugarcrm.com/crm/product_doc.php';

dashlet_display_row_options (Deprecated in future release)

DescriptionDetermines the number of rows displayed in the 6.x dashlet options. This setting is deprecated as of 7.x. To modify the dashlet row configuration in 7.x you will need to navigate to Admin > Dropdown Editor and edit the dashlet_limit_optionslist.
TypeArray
Range of values1, 3, 5, 10
Versions5.2.0 - 6.7.12
EditionsCE, Pro, Corp, Ent, Ult
Default Value5
Override Example
$sugar_config['dashlet_display_row_options'][] = '20';

dbconfig

DescriptionDefines all of the connection parameters for the database server.
TypeArray
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['dbconfig'] = array();

dbconfig.db_host_instance

DescriptionDefines the host instance for MSSQL connections.
TypeString
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['dbconfig']['db_host_instance'] = 'SQLEXPRESS';

dbconfig.db_type

DescriptionDefines the type of database being used with Sugar. It is important to note that db2 and oracle are only applicable to the Ent and Ult editions of Sugar.
TypeString : Database Enigine
Range of values'mysql', 'mssql', 'db2', and 'oracle'
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['dbconfig']['db_type'] = 'mysql';

dbconfig.db_user_name

DescriptionDefines the user to connect to the Sugar database as.
TypeString : Database User
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['dbconfig']['db_user_name'] = 'sql_user';

default_currency_significant_digits

DescriptionChanges the number of significant digits in currency by default.
TypeInteger : Number of significant digits
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value2
Override Example
$sugar_config['default_currency_significant_digits'] = 2;

default_date_format

DescriptionModifies the default date format for all users.
TypeString : Date format
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuem/d/Y
Override Example
$sugar_config['default_date_format'] = 'm/d/Y';

default_decimal_seperator

DescriptionSets the character used as a decimal separator for numbers.
TypeString : Text character
Range of valuesAny character
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value.
Override Example
$sugar_config['default_decimal_seperator'] = '.';

default_email_client

DescriptionSets the default email client that opens when users send emails.
TypeString : Email client
Range of values'sugar', 'external'
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuesugar
Override Example
$sugar_config['default_email_client'] = 'sugar';

default_language

DescriptionSets each user's default language. Possible values include any language offered by Sugar, such as: 'ar_SA', 'bg_BG', 'ca_ES', 'cs_CZ', 'da_DK', 'de_DE', 'el_EL', 'en_UK', 'en_us', 'es_ES', 'es_LA', 'et_EE', 'fi_FI', 'fr_FR', 'he_IL', 'hu_HU', 'it_it', 'ja_JP', 'ko_KR', 'lt_LT', 'lv_LV', 'nb_NO', 'nl_NL', 'pl_PL', 'pt_BR', 'pt_PT', 'ro_RO', 'ru_RU', 'sk_SK', 'sq_AL', 'sr_RS', 'sv_SE', 'tr_TR', 'uk_UA', 'zh_CN'
TypeString : Language key
Range of valuesAny available language
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valueen_us
Override Example
$sugar_config['default_language'] = 'en_us';

default_number_grouping_seperator

DescriptionSets the character used as the 1000s separator for numbers.
TypeString : Text character
Range of valuesAny character
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value,
Override Example
$sugar_config['default_number_grouping_seperator'] = ',';

default_permissions

DescriptionArray that defines the ownership and permissions for directories and files created naturally by the application.
TypeArray
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['default_permissions'] = array();

default_permissions.dir_mode

DescriptionPart of the 'default_permissions' array. Used in UNIX-based systems only to define the permissions on newly created directories. The value is stored in decimal notation while UNIX file permissions are octal. For example, an octal value of 1528 equates to the permissions 2770. Instances running on the On-Demand environment will have this setting enforced as 1528.
TypeInteger : Octal Value
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
On-Demand Value1528
Override Example
$sugar_config['default_permissions']['dir_mode'] = 1528;

default_permissions.file_mode

DescriptionPart of the 'default_permissions' array. Used in UNIX-based systems only to define the permissions on newly created files. The value is stored in decimal notation while UNIX file permissions are octal. For example, an octal value of 432 in equates to the permissions 660. Instances running on the On-Demand environment will have this setting enforced as 432.
TypeInteger : Octal value
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
On-Demand Value432
Override Example
$sugar_config['default_permissions']['file_mode'] = 432;

default_permissions.group

DescriptionUsed in UNIX-based systems only to define the group membership of any newly created directories and files. This value should be a group that the Apache user is a member of to help ensure proper functionality. Instances running on the On-Demand environment will have this setting enforced asempty.
TypeString : Web group
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
On-Demand Valueempty
Override Example
$sugar_config['default_permissions']['group'] = 'apache';

default_permissions.user

DescriptionPart of the 'default_permissions' array. Used in UNIX-based systems only to define the ownership of any newly created directories and files. This value should be the Apache user. Instances running on the On-Demand environment will have this setting enforced as empty.
TypeString : Web user
Range of valuesApache user
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
On-Demand Valueempty
Override Example
$sugar_config['default_permissions']['user'] = 'apache';

default_user_is_admin

DescriptionAllows for determining whether a user is a system administrator by default.
TypeBoolean
Range of valuestrue, false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
Override Example
$sugar_config['default_user_is_admin'] = true;

developerMode

DescriptionRebuilds various cached files when a page is accessed. Can be set by an admin in Admin > System Settings. Instances running on the On-Demand environment will have this setting enforced as false.
TypeBoolean
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
On-Demand Valuefalse
Override Example
$sugar_config['developerMode'] = true;

disable_count_query

DescriptionRemoves the count totals from listviews. This is commonly used to prevent performing expensive count queries on the database when loading listviews and subpanels. It is important to note that in 7.x, this parameter will only affect modules running in Backward Compatibility mode.
TypeBoolean
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
Override Example
$sugar_config['disable_count_query'] = true;

disable_export

DescriptionPrevents exports of data into .csv files. Normally set in the UI via Admin > Locale.
TypeBoolean
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
Override Example
$sugar_config['disable_export'] = true;

disable_uw_upload

DescriptionDisables the upgrade wizard from being accessible through the Sugar admin interface. Instances running on the On-Demand environment will have this setting enforced as true.
TypeBoolean
Range of valuestrue and false
Versions5.2.0.j+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
On-Demand Valuetrue
Override Example
$sugar_config['disable_uw_upload'] = true;

disable_vcr

DescriptionDisables record paging in the detailview (VCR controls). Increases performance by not loading all records from a listview into memory when accessing the record detailview. In 7.x versions, this setting is only applicable to modules running in Backward Compatibility Mode.
TypeBoolean
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
Override Example
$sugar_config['disable_vcr'] = true;

dump_slow_queries

DescriptionLogs slow queries to the sugar log file. Instances running on the On-Demand environment will have this setting enforced as false.
TypeBoolean
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
On-Demand Valuefalse
Override Example
$sugar_config['dump_slow_queries'] = true;

email_address_separator

DescriptionSets the character used to separate email addresses.
TypeString : Text character
Range of valuesAny character
Versions6.4.3+
EditionsCE, Pro, Corp, Ent, Ult
Default Value,
Override Example
$sugar_config['email_address_separator'] = ',';

email_default_client

DescriptionSets the default email client for all users.
TypeString : String
Range of valuessugar, external
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuesugar
Override Example
$sugar_config['email_default_client'] = 'sugar';

enable_inline_reports_edit

DescriptionAllows a user to edit specific field types (e.g. dropdowns, text fields) in a rows and columns report without having to navigate directly to the record.
TypeBoolean
Range of valuestrue and false
Versions6.3.0+
EditionsPro, Corp, Ent, Ult
Default Valuefalse
Override Example
$sugar_config['enable_inline_reports_edit'] = true;

external_cache_disabled

DescriptionDisables all external caching in Sugar. This is normally set to true to determine if there is a conflict with PHP caching. Instances running on the On-Demand environment will have this setting enforced as true.
TypeBoolean
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
On-Demand Valuetrue
Override Example
$sugar_config['external_cache_disabled'] = true;

external_cache_disabled_memcache

DescriptionDisables Memcache caching in Sugar. Recommended setting is false. This setting is normally normall only enabled to determine if there is a conflict with PHP caching. Instances running on the On-Demand environment will have this setting enforced as true.
TypeArray
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
On-Demand Valuetrue
Override Example
$sugar_config['external_cache_disabled_memcache'] = true;

external_cache_disabled_memcached

DescriptionDisables Memcached caching from working with Sugar. Recommended setting is false and is normally set to true to determine if there is a conflict with PHP caching. Instances running on the On-Demand environment will have this setting enforced as true.
TypeBoolean
Range of valuestrue and false
Versions6.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
On-Demand Valuetrue
Override Example
$sugar_config['external_cache_disabled_memcached'] = false;

external_cache_disabled_smash

DescriptionDisables Smash caching in Sugar. Recommended setting is false and is normally set to true to determine if there is a conflict with PHP caching.
TypeBoolean
Range of valuestrue and false
Versions5.2.0c+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['external_cache_disabled_smash'] = false;

forms

DescriptionAn array defining form requirements.
TypeArray
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['forms'] = array();

forms.requireFirst

DescriptionPresents all required fields grouped together in the first panel on the EditView form.
TypeBoolean
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
Override Example
$sugar_config['forms']['requireFirst'] = true;

hide_admin_backup

DescriptionRemoves the Backups option in the admin menu and also prevents direct access to the feature. Instances running on the On-Demand environment will have this setting enforced as true.
TypeBoolean
Range of valuestrue and false
Versions6.5.1+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
On-Demand Valuetrue
Override Example
$sugar_config['hide_admin_backup'] = true;

hide_full_text_engine_config

DescriptionDetermines if the FTS settings are present in the admin search page in Admin > Search. Instances running on the On-Demand environment will have this setting enforced as true.
TypeBoolean
Range of valuestrue and false
Versions6.5.15+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
On-Demand Valuetrue
Override Example
$sugar_config['hide_full_text_engine_config'] = true;

hide_subpanels

DescriptionThis setting only applies to modules running in Backward Compatibility Mode. When a DetailView is loaded, all subpanels are collapsed. Collapsing subpanels on load increases performance by not querying for data until a user explicitly expands a subpanel.
TypeBoolean
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
Override Example
$sugar_config['hide_subpanels'] = true;

hide_subpanels_on_login

DescriptionThis setting only applies to modules running in backward compatibility mode. Collapses subpanels per session. When a DetailView is initially loaded during a session, all subpanels are collapsed. Once explanded, it will remain expanded until the user logs out. Collapsing subpanels on load increases performance by not querying for data until a user explicitly expands a subpanel.
TypeBoolean
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
Override Example
$sugar_config['hide_subpanels_on_login'] = true;

installer_locked

DescriptionSets whether the installer is locked or not. When false, it is possible to access Sugar's initial configuration page to reinstall the instance. Instances running on the On-Demand environment will have this setting enforced as true.
TypeBoolean
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuetrue
On-Demand Valuetrue
Override Example
$sugar_config['installer_locked'] = true;

jobs

DescriptionJob Queue configurations.
TypeArray
Versions6.5.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['jobs'] = array();

jobs.hard_lifetime

DescriptionHard deletes all jobs that are older than the hard cutoff. Default is 21 days.
TypeInteger : Days
Versions6.5.1+
EditionsCE, Pro, Corp, Ent, Ult
Default Value21
Override Example
$sugar_config['jobs']['hard_lifetime'] = 21;

jobs.max_retries

DescriptionMaximum number of failures for job. Default is 5.
TypeInteger : Number of failures
Versions6.5.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value5
Override Example
$sugar_config['jobs']['max_retries'] = 5;

jobs.min_retry_interval

DescriptionMinimal interval between job reruns. Default is 30 seconds.
TypeInteger : Seconds
Versions6.5.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value30
Override Example
$sugar_config['jobs']['min_retry_interval'] = 30;

jobs.soft_lifetime

DescriptionSoft deletes all jobs that are older than cutoff. Default is 21 days.
TypeInteger : Days
Versions6.5.1+
EditionsCE, Pro, Corp, Ent, Ult
Default Value7
Override Example
$sugar_config['jobs']['soft_lifetime'] = 7;

jobs.timeout

DescriptionIf a job is running longer than the limit, the job is failed by force. Specified in seconds. Default is 3600 seconds (1 hour).
TypeInteger : Seconds
Versions6.5.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value3600
Override Example
$sugar_config['jobs']['timeout'] = 86400;

list_max_entries_per_page

DescriptionListview items per page.
TypeString : Records per page
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value20
Override Example
$sugar_config['list_max_entries_per_page'] = '20';

list_report_max_per_page

DescriptionSets the maximum number of reports that are listed on each page in the Reports module.
TypeInteger : Number of records
Versions5.2.0+
EditionsPro, Corp, Ent, Ult
Default Value100
Override Example
$sugar_config['list_report_max_per_page'] = 100;

lock_homepage (Deprecated in future release)

DescriptionPrevents users from being able to customize the Homepage layout.
TypeBoolean
Range of valuestrue and false
Versions5.2.0 - 6.7.12
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['lock_homepage'] = true;

logger

DescriptionAn array that defines all of the logging settings.
TypeArray
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['logger'] = array();

logger.file.dateFormat
DescriptionThe date format for the log file is any value that is acceptable to the PHP strftime() function. The default is '%c'. For a complete list of available date formats, please see the strftime() PHP documentation at http://php.net/manual/en/function.strftime.php.
TypeString : Date format
Range of valuesPattern for date format
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value%c
Override Example
$sugar_config['logger']['file']['dateFormat'] = '%c';

logger.file.ext
DescriptionThe extension of the log file. The default value is '.log'. Instances running on the On-Demand environment will have this setting enforced as .log.
TypeString : File extension
Range of valuesExtension for the log
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value.log
On-Demand Value.log
Override Example
$sugar_config['logger']['file']['ext'] = '.log';

logger.file.maxLogs
DescriptionWhen the log file grows to the logger.file.maxSize value, the system will automatically roll the log file. Thelogger.file.maxLogs value controls the max number of logs that will be saved before it deletes the oldest. The default value is 10.
TypeInteger : Number of logs
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value10
Override Example
$sugar_config['logger']['file']['maxLogs'] = 10;

logger.file.maxSize
DescriptionThis value controls the max file size of a log before the system will roll the log file. It must be set in the format '10MB' where 10 is number of MB to store. Always use MB as no other value is currently accepted. To disable log rolling set the value to false. The default value is '10MB'. Instances running on the On-Demand environment will have this setting enforced as 10MB.
TypeString : Size
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value10MB
On-Demand Value10MB
Override Example
$sugar_config['logger']['file']['maxSize'] = '10MB';

logger.file.name
DescriptionThe name of the log file to be written to. Instances running on the On-Demand environment will have this setting enforced as sugarcrm.
TypeString : Filename
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuesugarcrm
On-Demand Valuesugarcrm
Override Example
$sugar_config['logger']['file']['name'] = 'sugarcrm';

logger.file.suffix
DescriptionThe suffix to the file name to track logs chronologically. For instance, if you wanted to append the month and year to a file name, you can change this setting to '%m_%Y'. For a complete list of available date formats, please see the strftime() PHP documentation at http://php.net/manual/en/function.strftime.php. Instances running on the On-Demand environment will have this setting enforced as empty.
TypeString : Suffix pattern
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valueempty
On-Demand Valueempty
Override Example
$sugar_config['logger']['file']['suffix'] = '%m_%Y';

logger.level

DescriptionDetermines the logging level of the system. The recommended setting is 'fatal'. Instances running on the On-Demand environment will have this setting enforced as fatal.
TypeString : Logging level
Range of values'debug', 'info', 'warn', 'deprecated', 'error', 'fatal', 'security', 'off'
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefatal
On-Demand Valuefatal
Override Example
$sugar_config['logger']['level'] = 'fatal';

log_dir

DescriptionSets the location in the file system where the Sugar log file will be stored. By default, it is set to '.' meaning that it is stored in the root instance directory.
TypeString : Directory Path
Versions5.2.0+
EditionsPro, Corp, Ent, Ult
Default Value.
Override Example
$sugar_config['log_dir'] = '.';

log_file

DescriptionDesignates the file name where the instance's logs will be stored. Instances running on the On-Demand environment will have this setting enforced as sugarcrm.log.
TypeString : Name of the log file
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuesugarcrm.log
On-Demand Valuesugarcrm.log
Override Example
$sugar_config['log_file'] = 'new_sugarcrm.log'

log_memory_usage

DescriptionLogs the memory usage. Instances running on the On-Demand environment will have this setting enforced as false.
TypeBoolean
Range of valuestrue and false
Versions5.5.0+
EditionsPro, Corp, Ent, Ult
Default Valuefalse
On-Demand Valuefalse
Override Example
$sugar_config['log_memory_usage'] = true;

mark_emails_seen

DescriptionDetermines whether to mark an email as read before importing the email to Sugar during the inbound email import. This is not recommended as an import failure will cause the email to be marked as read which will be skipped during the next inbound email import.
TypeBoolean
Range of valuestrue and false
Versions6.5.17+
EditionsPro, Corp, Ent, Ult
Default Valuefalse
Override Example
$sugar_config['mark_emails_seen'] = true;

max_dashlets_homepage (Deprecated in future release)

DescriptionDetermines the maximum number of Sugar Dashlets on a users Homepage.
TypeString : Number of dashlets
Versions5.2.0 - 6.7.12
EditionsCE, Pro, Corp, Ent, Ult
Default Value15
Override Example
$sugar_config['max_dashlets_homepage'] = '20';

moduleInstaller

DescriptionArray that defines restrictions on module installations via the Module Loader utility.
TypeArray
Versions5.2.0.j+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['moduleInstaller'] = array();

moduleInstaller.disableFileScan

DescriptionWhen packageScan is set to 'true', Sugar scans all files in an installable package to ensure that the file extensions are acceptable and that the files do not contain blacklisted class or function calls. Setting the disableFileScan parameter to 'true' avoids this scan from occurring while still enforcing other parameters set.
TypeBoolean
Range of valuestrue and false
Versions5.2.0j+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['moduleInstaller']['disableFileScan'] = true;

moduleInstaller.packageScan

DescriptionEnables package scanning on any modules uploaded through Module Loader prior to the installation. If the package is found to violate any restrictions of the packageScan, the installation will not proceed and an error report will be generated to the user attempting the install. Instances running on the On-Demand environment will have this setting enforced as true.
TypeBoolean
Range of valuestrue and false
Versions5.5.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
On-Demand Valuetrue
Override Example
$sugar_config['moduleInstaller']['packageScan'] = true;

moduleInstaller.validExt

DescriptionPart of the moduleInstaller array. When moduleInstaller.packageScanis set to true, Sugar will not allow certain file extensions to be present in an installable package. The moduleInstaller.validExt parameter allows you to define additional explicit extensions deemed safe to install on your instance of Sugar. Instances running on the On-Demand environment will have this setting enforced as array('xml').
TypeArray : Extensions
Range of valuesFile extensions to allow
Versions6.0.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuearray('png', 'gif', 'jpg', 'css', 'js', 'php', 'txt', 'html', 'htm', 'tpl', 'pdf', 'md5', 'xml', 'hbs', 'less', 'wsdl')
On-Demand Valuearray('xml')
Override Example
$sugar_config['moduleInstaller']['validExt'] = array('swf', 'log');

oc_converted (Deprecated in future release)

DescriptionThis setting is only used in the Offline Client by the sync process.
TypeBoolean
Range of valuestrue and false
Versions5.2.0 - 6.5.23
EditionsEnt, Ult
Override Example
$sugar_config['oc_converted'] = false;

oc_password (Deprecated in future release)

DescriptionThe password for the Offline Client user.
TypeString : Password
Versions5.2.0 - 6.5.23
EditionsEnt, Ult
Override Example
$sugar_config['oc_password'] = 'Sugar12345';

oc_server_url (Deprecated in future release)

DescriptionUsed in Offline Client only to define the URL of the parent instance of Sugar for synchronization purposes. This is normally the same URL as sync_site_url but with a "/" at the end.
TypeString : Web URL
Versions5.2.0 - 6.5.23
EditionsEnt, Ult
Override Example
$sugar_config['oc_server_url'] = 'http://my.sugarinstance.com/';

oc_username (Deprecated in future release)

DescriptionSpecifies the user the Offline Client is being installed for.
TypeString : Sugar Username
Versions5.2.0 - 6.5.23
EditionsEnt, Ult
Override Example
$sugar_config['oc_username'] = 'Ethan';

oracle_enable_ci

DescriptionBy default, Oracle searching is case sensitive in Sugar, which can be a problem if you are not sure of the case of the data you are searching for. Using this settings, you can turn on insensitive search for Oracle 10g and 11g.
TypeBoolean
Range of valuestrue and false
Versions6.1.3+
EditionsEnt, Ult
Override Example
$sugar_config['oracle_enable_ci'] = true;

parent_site_url (Deprecated in future release)

DescriptionUsed in portal installations to define the parent URL of the Sugar instance to communicate with.
TypeString : Web URL
Versions5.2.0 - 6.5.23
EditionsPro, Corp, Ent, Ult
Override Example
$sugar_config['parent_site_url'] = 'http://my.sugarinstance.com';

passwordsetting

DescriptionDefines all of the password requirements for the instance.
TypeArray
Versions5.5.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['passwordsetting'] = array();

passwordsetting.forgotpasswordON

DescriptionEnables the Forgot Password features. When enabled, users will have the ability to reset their own passwords at the Login page. Set in UI via Admin->Password Management.
TypeString
Range of values0, 1
Versions5.5.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value1
Override Example
$sugar_config['passwordsetting']['forgotpasswordON'] = '0';

passwordsetting.linkexpiration

0
DescriptionDetermines whether the password reset link expires.
TypeString
Range of values0, 1
Versions6.0.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['passwordsetting']['linkexpiration'] = '0';

passwordsetting.onelower

0
DescriptionConfigures whether at least one lower-case letter is required in users' passwords.
TypeString
Range of values0, 1
Versions6.0.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['passwordsetting']['onespecial'] = '0';

passwordsetting.onenumber

DescriptionConfigures whether at least one number is required in users' passwords.
TypeString
Range of values0, 1
Versions6.0.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value1
Override Example
$sugar_config['passwordsetting']['onenumber'] = '1';

passwordsetting.systexpirationtype

DescriptionSpecifies the unit of measurement forpasswordsetting.systexpirationtime. The available options are: Days (1), Weeks (7) and Months (30). This value can be set in the UI via Admin > Password Management.
TypeInteger
Range of values1, 7, and 30
Versions5.5.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value1
Override Example
$sugar_config['passwordsetting']['systexpirationtype'] = '7';

require_accounts

DescriptionDetermines whether an account is required for record creation within the system.
TypeBoolean
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuetrue
Override Example
$sugar_config['require_accounts'] = false;

SAML_X509Cert

DescriptionThe SAML Certificate Key.
TypeString : SAML Certificate Key
Versions6.1.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['SAML_X509Cert'] = '-----BEGIN CERTIFICATE-----CERTIFICATE KEY-----END CERTIFICATE-----';

search_wildcard_infront

DescriptionIn Sugar 7.x+, this setting is only valid for modules running in BWC mode. When enabled, automatically adds a wildcard in front of any searches performed in the application. This setting is not recommended to be enabled as preceding wildcards results in database indices not being utilized and performance decreasing.
TypeBoolean
Range of valuestrue and false
Versions6.4.3+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
Override Example
$sugar_config['search_wildcard_infront'] = true;

session_dir

DescriptionDirectory on the server to store Sugar session data. If left empty, the PHP session settings will be inherited. Instances running on the On-Demand environment will have this setting enforced as empty.
TypeString
Range of valuesDirectory path
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valueempty
On-Demand Valueempty
Override Example
$sugar_config['session_dir'] = '/tmp/SugarSession/';

showThemePicker

DescriptionRemoves the theme selection drop down.
TypeBoolean
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuetrue
Override Example
$sugar_config['showThemePicker'] = false;

show_download_tab

DescriptionUsed to determine whether the download tab will appear in the User settings. The download tab provides users with access to Sugar plug-ins and other available downloads.
TypeBoolean
Range of valuestrue and false
Versions6.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['show_download_tab'] = true;

site_url

DescriptionCurrent URL of your Sugar instance. This value is critical in its accuracy for multiple points of functionality in the instance.
TypeString : URL
Range of valuesCurrent URL of Sugar
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['site_url'] = 'http://my.sugarinstance.com';

slow_query_time_msec

DescriptionSlow query time threshold. Instances running on the On-Demand environment will have this setting enforced as 5000.
TypeString : Milliseconds
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value5000
On-Demand Value5000
Override Example
$sugar_config['slow_query_time_msec'] = '1000';

stack_trace_errors

DescriptionDisplays stack trace of errors.
TypeBoolean
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
Override Example
$sugar_config['stack_trace_errors'] = true;

studio_max_history

DescriptionWhen layout changes are made in Studio, a history of those changes are recorded with each save & deploy under ./custom/history/modules/. The studio_max_history parameter controls how many files Sugar keeps for a particular module. If this parameter is undefined, a default of 50 is observed and to keep all historical Studio actions, set this parameter to 0. Instances running on the On-Demand environment will have this setting enforced as 50.
TypeInteger : Number of files to keep
Range of valuesAny integer
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value50
On-Demand Value50
Override Example
$sugar_config['studio_max_history'] = 100;

sugar_version

DescriptionThe current version of Sugar that is being used. This value should not be modified as it is updated in the config when Sugar is upgraded.
TypeString : Version Number
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['sugar_version'] = '6.7.3';

tmp_dir

DescriptionThe directory path for temporary XML files used by charts and diagnostics.
TypeString : Directory path
Range of valuesFilesystem path
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuecache/xml/
Override Example
$sugar_config['tmp_dir'] = 'cache/xml/';

tracker_max_display_length

DescriptionThe number of records that will be shown per record in the "Last Viewed" section located under each module tab.
TypeInteger : Number of records
Versions6.0.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['tracker_max_display_length'] = 45;

unique_key

DescriptionSpecifies the unique identifier for the instance. This value is used in features such as PHP caching, FTS indexing, and email archiving. It is extremely important that this string is unique from any other instances deployed even if they are only for development purposes only.
TypeString : Unique Identifier
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['unique_key'] = 'c0b5475f3f5b26ddb2976edc8865b5f6';

upload_badext

DescriptionAn array of extensions that cannot be uploaded in their native file format. Sugar will append a .txt extension to the end of any files with an invalid extension to avoid security issues with running unauthorized scripts on an instance.
TypeArray
Range of valuesExtensions that cannot be uploaded as is
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['upload_badext'][] = 'swf';

upload_dir

DescriptionThe directory path where uploaded files are stored for note attachments, documents, and module loadable packages. By default, uploads are stored in the ./upload/ directory.
TypeString
Range of valuesDirectory path
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valueupload/
Override Example
$sugar_config['upload_dir'] = 'upload/'

upload_maxsize

DescriptionThe maximum file size that users can upload into Sugar as attachments. When uploading files to Sugar, there are three file size limits to configure. The first two limits are your PHPupload_max_filesize and post_max_size which are configured in your php.ini. The second limit is the sugar configuration setting for upload_maxsize, which will restrict the upload limit from within Sugar. This setting can also be modified in the application via Admin > System Settings. The smallest of these three values will be honored when an oversized file has been uploaded.
TypeInteger : Filesize in bytes
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['upload_maxsize'] = 40000000;

use_common_ml_dir

DescriptionA security control that allows you to restrict Module Loader to read modules from a specific directory on the server and disable the ability to upload new modules into the Module Loader. To specify a new directory you will need to populate the config parameter 'common_ml_dir'.
TypeBoolean
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
Override Example
$sugar_config['use_common_ml_dir'] = true;

use_php_code_json

DescriptionDetermines if the environment has a valid version of PHP-JSON. This should be determined by the function returnPhpJsonStatus() and shouldn't be overridden.
TypeBoolean
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['use_php_code_json'] = true;

use_real_names

DescriptionDisplay users' full names instead of their User Names in assignment fields.
TypeBoolean
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuetrue
Override Example
$sugar_config['use_real_names'] = true;

use_sprites

DescriptionA sprite is a two-dimensional image or animation that is integrated into a larger scene. This parameter is used to disable sprites. This is set to true by default (if you have GD libraries installed).
TypeBoolean
Range of valuestrue and false
Versions6.4.0+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['use_sprites'] = false;

vcal_time

DescriptionUsed to determine the number of months in advance of the current date that the Free/Busy information for calls and meetings will be published. To turn Free/Busy publishing off, set this variable to '0'. The minimum is 1 month; the maximum is 12 months.
TypeString : Months
Range of values'1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', and '12'
Versions5.2.0.c+
EditionsCE, Pro, Corp, Ent, Ult
Default Value2
Override Example
$sugar_config['vcal_time'] = '5';

verify_client_ip

DescriptionWhether or not to verify the client IP. Setting this to false will disable the system checking to see if the user is accessing Sugar from the IP address of their last page load.
TypeBoolean
Range of valuestrue and false
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuetrue
Override Example
$sugar_config['verify_client_ip'] = false;

wl_list_max_entries_per_page

DescriptionThe number of records to be shown per page on the listview of the mobile browser.
TypeInteger : Number of records to display
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value10
Override Example
$sugar_config['wl_list_max_entries_per_page'] = 10;

wl_list_max_entries_per_subpanel

DescriptionDetermines the number of records shown in the subpanels on the DetailView of the mobile browser.
TypeInteger : Records
Versions5.2.0+
EditionsCE, Pro, Corp, Ent, Ult
Default Value3
Override Example
$sugar_config['wl_list_max_entries_per_subpanel'] = 3;

xhprof_config

DescriptionConfiguration settings for xhprof. More information on xhprof can be found at http://pecl.php.net/package/xhprof.
TypeArray
Versions6.5.10+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['xhprof_config'] = array();

xhprof_config.enable

DescriptionEnables the xhprof profiler.
TypeBoolean
Range of valuestrue and false
Versions6.5.10+
EditionsCE, Pro, Corp, Ent, Ult
Default Valuefalse
Override Example
$sugar_config['xhprof_config']['enable'] = true;

xhprof_config.flags

DescriptionThe flags for xhprof profiler.
TypeString : xhprof flags
Versions6.5.10+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['xhprof_config']['flags'] = XHPROF_FLAGS_CPU + XHPROF_FLAGS_MEMORY;

xhprof_config.ignored_functions

DescriptionAn array of function names to ignore from the profile.
TypeArray : Function names
Versions6.5.10+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['xhprof_config']['ignored_functions'] = array("function_name");

xhprof_config.log_to

DescriptionThe path to log the xhprof profiler output to.
TypeString : Directory path
Versions6.5.10+
EditionsCE, Pro, Corp, Ent, Ult
Override Example
$sugar_config['xhprof_config']['log_to'] = '{instance server path}/cache/xhprof';

xhprof_config.manager

DescriptionThe xhprof manager class to use. Prior to 7.7, specifying valuesxhprof_config.save_toxhprof_config.mongodb_uri,xhprof_config.mongodb_dbxhprof_config.mongodb_collection,xhprof_config.mongodb_options, and xhprof_config.filter_wtwill need to have set xhprof_config.manager set to 'SugarXHprofPerformance'. As of 7.7, settingxhprof_config.manager is not longer required. If you want to customize SugarXHprof, you can create the folder./custom/include/SugarXHprof/ and create a file with your custom class class name. The custom class will need to extendSugarXHprof. If a custom class doesn't exist or hasn't been specified, SugarXHprof will be used.
TypeString : Class
Versions6.5.10+
EditionsCE, Pro, Corp, Ent, Ult
Default ValueSugarXHprof
Override Example
$sugar_config['xhprof_config']['manager'] = 'CustomSugarXHprof';

xhprof_config.sample_rate

DescriptionThe sample rate of the xhprof profiler. 1/{specified value} requests are profiled. To sample all requests, set this value to 1.
TypeInteger : Sample Rate (1/{value})
Versions6.5.10+
EditionsCE, Pro, Corp, Ent, Ult
Default Value10
Override Example
$sugar_config['xhprof_config']['sample_rate'] = 1;

Last modified: 04/20/2016 02:24pm

You Might Also Like

0 comentarios

Flickr Images