This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
espocrm-base/application/Espo/Core/defaults/config.php
T
2014-03-06 11:47:43 +02:00

96 lines
2.1 KiB
PHP

<?php
return array (
'configPath' => 'data/config.php',
'cachePath' => 'data/cache',
'database' =>
array (
'driver' => 'pdo_mysql',
'host' => 'localhost',
),
'useCache' => true,
'recordsPerPage' => 20,
'recordsPerPageSmall' => 5,
'applicationName' => 'EspoCRM',
'timeZone' => 'UTC',
'dateFormat' => 'MM/DD/YYYY',
'timeFormat' => 'HH:mm',
'weekStart' => 0,
'thousandSeparator' => ',',
'decimalMark' => '.',
'currencyList' =>
array (
0 => 'USD',
1 => 'EUR',
),
'defaultCurrency' => 'USD',
'outboundEmailIsShared' => true,
'outboundEmailFromName' => 'EspoCRM',
'outboundEmailFromAddress' => '',
'smtpServer' => '',
'smtpPort' => 25,
'smtpAuth' => true,
'smtpSecurity' => '',
'smtpUsername' => '',
'smtpPassword' => '',
'logger' =>
array (
'path' => 'data/logs/espo.log',
'level' => 'ERROR', /*DEBUG, INFO, NOTICE, WARNING, ERROR, CRITICAL, ALERT, EMERGENCY*/
'isRotate' => true, /*rotate every day every logs files*/
'maxRotateFiles' => 30, /*max number of rotate files*/
),
'defaultPermissions' =>
array (
'dir' => '0775',
'file' => '0664',
'user' => '',
'group' => '',
),
'cron' => array(
'maxJobNumber' => 15, /*Max number of jobs per one execution*/
'jobPeriod' => 7800, /*Period for jobs, ex. if cron executed at 15:35, it will execute all pending jobs for times from 14:05 to 15:35*/
'minExecutionTime' => 50, /*to avoid too frequency execution*/
),
'currency' =>
array(
'base' => 'USD',
'rate' => array(
'EUR' => 1.37,
'GBP' => 1.67,
),
),
'crud' => array(
'get' => 'read',
'post' => 'create',
'put' => 'update',
'patch' => 'patch',
'delete' => 'delete',
),
'systemUser' => array(
'id' => 'system',
'userName' => 'system',
'firstName' => '',
'lastName' => 'System',
),
'systemItems' =>
array (
'systemItems',
'adminItems',
'configPath',
'cachePath',
'database',
'crud',
),
'adminItems' =>
array (
'defaultPermissions',
'logger',
'devMode',
),
'isInstalled' => false,
);
?>