From 692ab6945fe1707e30ade42af8ddfbf3cd6673d8 Mon Sep 17 00:00:00 2001 From: Taras Machyshyn Date: Thu, 6 Mar 2014 11:47:43 +0200 Subject: [PATCH] moved config.php to data/config.php --- application/Espo/Core/defaults/config.php | 2 +- data/config.php | 75 +++++++++++++++++++++++ 2 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 data/config.php diff --git a/application/Espo/Core/defaults/config.php b/application/Espo/Core/defaults/config.php index b1189aebe7..cd3cef8696 100644 --- a/application/Espo/Core/defaults/config.php +++ b/application/Espo/Core/defaults/config.php @@ -1,7 +1,7 @@ 'application/config.php', + 'configPath' => 'data/config.php', 'cachePath' => 'data/cache', 'database' => diff --git a/data/config.php b/data/config.php new file mode 100644 index 0000000000..4a6bb804b6 --- /dev/null +++ b/data/config.php @@ -0,0 +1,75 @@ + + array ( + 'host' => 'localhost', + 'dbname' => 'espocrm_test', + 'user' => 'root', + 'password' => '', + ), + 'logger' => + array ( + 'path' => 'data/logs/espo.log', + 'level' => 'DEBUG', + 'isRotate' => true, + 'maxRotateFiles' => 3, + ), + 'useCache' => false, + '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' => 'crm@letrium.com', + 'smtpServer' => 'mail.letrium.com', + 'smtpPort' => 25, + 'smtpAuth' => true, + 'smtpSecurity' => '', + 'smtpUsername' => 'test+letrium.com', + 'smtpPassword' => 'test123', + 'tabList' => + array ( + 0 => 'Account', + 1 => 'Contact', + 2 => 'Lead', + 3 => 'Prospect', + 4 => 'Opportunity', + 5 => 'Calendar', + 6 => 'Meeting', + 7 => 'Call', + 8 => 'Task', + 9 => 'Case', + ), + 'quickCreateList' => + array ( + 0 => 'Contact', + 1 => 'Lead', + 2 => 'Meeting', + 3 => 'Call', + 4 => 'Task', + ), + 'currency' => + array ( + 'base' => 'USD', + 'rate' => + array ( + 'EUR' => 1.3000000000000000444089209850062616169452667236328125, + 'GBP' => 1.6699999999999999289457264239899814128875732421875, + ), + ), +); + +?> \ No newline at end of file