mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 23:16:03 +00:00
161 lines
6.0 KiB
PHP
161 lines
6.0 KiB
PHP
<?php
|
|
/************************************************************************
|
|
* This file is part of EspoCRM.
|
|
*
|
|
* EspoCRM - Open Source CRM application.
|
|
* Copyright (C) 2014-2020 Yuri Kuznetsov, Taras Machyshyn, Oleksiy Avramenko
|
|
* Website: https://www.espocrm.com
|
|
*
|
|
* EspoCRM is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* EspoCRM is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
|
|
*
|
|
* The interactive user interfaces in modified source and object code versions
|
|
* of this program must display Appropriate Legal Notices, as required under
|
|
* Section 5 of the GNU General Public License version 3.
|
|
*
|
|
* In accordance with Section 7(b) of the GNU General Public License version 3,
|
|
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
|
|
************************************************************************/
|
|
|
|
return [
|
|
'database' => [
|
|
'driver' => 'pdo_mysql',
|
|
'host' => 'localhost',
|
|
'port' => '',
|
|
'charset' => 'utf8mb4',
|
|
'dbname' => '',
|
|
'user' => '',
|
|
'password' => '',
|
|
],
|
|
'useCache' => true,
|
|
'recordsPerPage' => 20,
|
|
'recordsPerPageSmall' => 5,
|
|
'applicationName' => 'EspoCRM',
|
|
'version' => '@@version',
|
|
'timeZone' => 'UTC',
|
|
'dateFormat' => 'DD.MM.YYYY',
|
|
'timeFormat' => 'hh:mm',
|
|
'weekStart' => 0,
|
|
'thousandSeparator' => ',',
|
|
'decimalMark' => '.',
|
|
'exportDelimiter' => ',',
|
|
'currencyList' => ['USD'],
|
|
'defaultCurrency' => 'USD',
|
|
'baseCurrency' => 'USD',
|
|
'currencyRates' => [],
|
|
'outboundEmailIsShared' => true,
|
|
'outboundEmailFromName' => 'EspoCRM',
|
|
'outboundEmailFromAddress' => '',
|
|
'smtpServer' => '',
|
|
'smtpPort' => 587,
|
|
'smtpAuth' => true,
|
|
'smtpSecurity' => 'TLS',
|
|
'smtpUsername' => '',
|
|
'smtpPassword' => '',
|
|
'language' => 'en_US',
|
|
'logger' => [
|
|
'path' => 'data/logs/espo.log',
|
|
'level' => 'WARNING', /** DEBUG, INFO, NOTICE, WARNING, ERROR, CRITICAL, ALERT, EMERGENCY */
|
|
'rotation' => true,
|
|
'maxFileNumber' => 30,
|
|
],
|
|
'authenticationMethod' => 'Espo',
|
|
'globalSearchEntityList' => [
|
|
'Account',
|
|
'Contact',
|
|
'Lead',
|
|
'Opportunity',
|
|
],
|
|
'tabList' => ["Account", "Contact", "Lead", "Opportunity", "Case", "Email", "Calendar", "Meeting", "Call", "Task", "_delimiter_", "Document", "Campaign", "KnowledgeBaseArticle", "Stream", "User"],
|
|
'quickCreateList' => ["Account", "Contact", "Lead", "Opportunity", "Meeting", "Call", "Task", "Case", "Email"],
|
|
'exportDisabled' => false,
|
|
'adminNotifications' => true,
|
|
'adminNotificationsNewVersion' => true,
|
|
'adminNotificationsCronIsNotConfigured' => true,
|
|
'adminNotificationsNewExtensionVersion' => true,
|
|
'assignmentEmailNotifications' => false,
|
|
'assignmentEmailNotificationsEntityList' => ['Lead', 'Opportunity', 'Task', 'Case'],
|
|
'assignmentNotificationsEntityList' => ['Meeting', 'Call', 'Task', 'Email'],
|
|
"portalStreamEmailNotifications" => true,
|
|
'streamEmailNotificationsEntityList' => ['Case'],
|
|
'streamEmailNotificationsTypeList' => ['Post', 'Status', 'EmailReceived'],
|
|
'emailNotificationsDelay' => 30,
|
|
'emailMessageMaxSize' => 10,
|
|
'notificationsCheckInterval' => 10,
|
|
'maxEmailAccountCount' => 2,
|
|
'followCreatedEntities' => false,
|
|
'b2cMode' => false,
|
|
'restrictedMode' => false,
|
|
'theme' => 'HazyblueVertical',
|
|
'massEmailMaxPerHourCount' => 100,
|
|
'massEmailVerp' => false,
|
|
'personalEmailMaxPortionSize' => 50,
|
|
'inboundEmailMaxPortionSize' => 50,
|
|
'emailAddressLookupEntityTypeList' => ['User', 'Contact', 'Lead', 'Account'],
|
|
'authTokenLifetime' => 0,
|
|
'authTokenMaxIdleTime' => 120,
|
|
'userNameRegularExpression' => '[^a-z0-9\-@_\.\s]',
|
|
'addressFormat' => 1,
|
|
'displayListViewRecordCount' => true,
|
|
'dashboardLayout' => [
|
|
(object) [
|
|
'name' => 'My Espo',
|
|
'layout' => [
|
|
(object) [
|
|
'id' => 'default-activities',
|
|
'name' => 'Activities',
|
|
'x' => 2,
|
|
'y' => 2,
|
|
'width' => 2,
|
|
'height' => 4
|
|
],
|
|
(object) [
|
|
'id' => 'default-stream',
|
|
'name' => 'Stream',
|
|
'x' => 0,
|
|
'y' => 0,
|
|
'width' => 2,
|
|
'height' => 4
|
|
]
|
|
]
|
|
]
|
|
],
|
|
'calendarEntityList' => ['Meeting', 'Call', 'Task'],
|
|
'activitiesEntityList' => ['Meeting', 'Call'],
|
|
'historyEntityList' => ['Meeting', 'Call', 'Email'],
|
|
'busyRangesEntityList' => ['Meeting', 'Call'],
|
|
'cleanupJobPeriod' => '1 month',
|
|
'cleanupActionHistoryPeriod' => '15 days',
|
|
'cleanupAuthTokenPeriod' => '1 month',
|
|
'currencyFormat' => 2,
|
|
'currencyDecimalPlaces' => 2,
|
|
'aclStrictMode' => true,
|
|
'aclAllowDeleteCreated' => false,
|
|
'aclAllowDeleteCreatedThresholdPeriod' => '24 hours',
|
|
'inlineAttachmentUploadMaxSize' => 20,
|
|
'textFilterUseContainsForVarchar' => false,
|
|
'tabColorsDisabled' => false,
|
|
'massPrintPdfMaxCount' => 50,
|
|
'emailKeepParentTeamsEntityList' => ['Case'],
|
|
'streamEmailWithContentEntityTypeList' => ['Case'],
|
|
'recordListMaxSizeLimit' => 200,
|
|
'noteDeleteThresholdPeriod' => '1 month',
|
|
'noteEditThresholdPeriod' => '7 days',
|
|
'emailForceUseExternalClient' => false,
|
|
'useWebSocket' => false,
|
|
'auth2FAMethodList' => ['Totp'],
|
|
'personNameFormat' => 'firstLast',
|
|
'newNotificationCountInTitle' => false,
|
|
'isInstalled' => false,
|
|
];
|