2016-04-12 14:39:18 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Local Configuration Override
|
|
|
|
*
|
|
|
|
* This configuration override file is for overriding environment-specific and
|
|
|
|
* security-sensitive configuration information. Copy this file without the
|
|
|
|
* .dist extension at the end and populate values as needed.
|
|
|
|
*
|
|
|
|
* @NOTE: This file is ignored from Git by default with the .gitignore included
|
|
|
|
* in ZendSkeletonApplication. This is a good practice, as it prevents sensitive
|
|
|
|
* credentials from accidentally being committed into version control.
|
|
|
|
*/
|
2019-12-17 11:00:07 +01:00
|
|
|
$package_json = json_decode(file_get_contents('./package.json'), true);
|
2017-12-06 15:58:52 +01:00
|
|
|
|
2020-12-17 15:20:40 +01:00
|
|
|
return [
|
|
|
|
'doctrine' => [
|
|
|
|
'connection' => [
|
|
|
|
'orm_default' => [
|
|
|
|
'params' => [
|
2016-06-02 11:04:52 +02:00
|
|
|
'host' => 'localhost',
|
2019-12-17 11:00:07 +01:00
|
|
|
'user' => 'sqlmonarcuser',
|
2016-06-02 11:04:52 +02:00
|
|
|
'password' => 'password',
|
|
|
|
'dbname' => 'monarc_common',
|
2020-12-17 15:20:40 +01:00
|
|
|
],
|
|
|
|
],
|
|
|
|
'orm_cli' => [
|
|
|
|
'params' => [
|
2016-06-02 11:04:52 +02:00
|
|
|
'host' => 'localhost',
|
2019-12-17 11:00:07 +01:00
|
|
|
'user' => 'sqlmonarcuser',
|
2016-06-02 11:04:52 +02:00
|
|
|
'password' => 'password',
|
2017-02-01 11:00:04 +01:00
|
|
|
'dbname' => 'monarc_cli',
|
2020-12-17 15:20:40 +01:00
|
|
|
],
|
|
|
|
],
|
|
|
|
],
|
|
|
|
],
|
2016-06-02 12:16:03 +02:00
|
|
|
|
|
|
|
'languages' => [
|
2016-12-21 13:23:32 +01:00
|
|
|
'fr' => [
|
|
|
|
'index' => 1,
|
|
|
|
'label' => 'Français',
|
|
|
|
],
|
|
|
|
'en' => [
|
|
|
|
'index' => 2,
|
|
|
|
'label' => 'English',
|
|
|
|
],
|
|
|
|
'de' => [
|
|
|
|
'index' => 3,
|
|
|
|
'label' => 'Deutsch',
|
|
|
|
],
|
2021-02-19 10:25:59 +01:00
|
|
|
'nl' => [
|
2017-09-21 15:57:50 +02:00
|
|
|
'index' => 4,
|
|
|
|
'label' => 'Nederlands',
|
|
|
|
],
|
2021-02-13 01:28:28 +01:00
|
|
|
'es' => [
|
|
|
|
'index' => 5,
|
|
|
|
'label' => 'Spanish',
|
|
|
|
],
|
2022-02-25 10:29:04 +01:00
|
|
|
'ro' => [
|
2021-02-19 10:25:59 +01:00
|
|
|
'index' => 6,
|
2022-02-25 10:29:04 +01:00
|
|
|
'label' => 'Romanian',
|
|
|
|
],
|
|
|
|
'it' => [
|
|
|
|
'index' => 7,
|
2021-02-19 10:25:59 +01:00
|
|
|
'label' => 'Italian',
|
|
|
|
],
|
|
|
|
'pt' => [
|
2022-02-25 10:29:04 +01:00
|
|
|
'index' => 9,
|
2021-02-19 10:25:59 +01:00
|
|
|
'label' => 'Portuguese',
|
|
|
|
],
|
|
|
|
'pl' => [
|
2022-02-25 10:29:04 +01:00
|
|
|
'index' => 10,
|
2021-02-19 10:25:59 +01:00
|
|
|
'label' => 'Polish',
|
|
|
|
],
|
|
|
|
'jp' => [
|
2022-02-25 10:29:04 +01:00
|
|
|
'index' => 11,
|
2021-02-19 10:25:59 +01:00
|
|
|
'label' => 'Japanese',
|
|
|
|
],
|
|
|
|
'zh' => [
|
2022-02-25 10:29:04 +01:00
|
|
|
'index' => 12,
|
2021-02-19 10:25:59 +01:00
|
|
|
'label' => 'Chinese',
|
|
|
|
],
|
2016-06-02 12:16:03 +02:00
|
|
|
],
|
|
|
|
|
2016-07-28 11:20:16 +02:00
|
|
|
'defaultLanguageIndex' => 1,
|
|
|
|
|
2022-03-08 12:59:30 +01:00
|
|
|
'activeLanguages' => array('fr','en','de','nl','es','ro','it','ja','pl','pt','zh'),
|
2016-07-28 11:20:16 +02:00
|
|
|
|
2018-05-17 09:37:27 +02:00
|
|
|
'appVersion' => $package_json['version'],
|
|
|
|
|
2018-07-04 14:54:46 +02:00
|
|
|
'checkVersion' => true,
|
2018-07-17 23:36:11 +02:00
|
|
|
'appCheckingURL' => 'https://version.monarc.lu/check/MONARC',
|
2018-07-04 14:54:46 +02:00
|
|
|
|
2017-10-18 10:16:01 +02:00
|
|
|
'email' => [
|
|
|
|
'name' => 'MONARC',
|
|
|
|
'from' => 'info@monarc.lu',
|
|
|
|
],
|
|
|
|
|
2019-02-27 10:43:26 +01:00
|
|
|
'terms' => 'https://my.monarc.lu/terms.html',
|
|
|
|
|
2020-12-17 15:52:37 +01:00
|
|
|
'monarc' => [
|
2020-12-17 15:20:40 +01:00
|
|
|
'ttl' => 60,
|
|
|
|
'cliModel' => 'generic',
|
2020-12-17 15:52:37 +01:00
|
|
|
],
|
2020-12-17 11:01:24 +01:00
|
|
|
|
2021-03-24 11:48:13 +01:00
|
|
|
'mospApiUrl' => 'https://objects.monarc.lu/api/',
|
2020-12-17 11:01:24 +01:00
|
|
|
|
|
|
|
'statsApi' => [
|
|
|
|
'baseUrl' => 'http://127.0.0.1:5005',
|
|
|
|
'apiKey' => '',
|
|
|
|
],
|
2020-12-17 15:52:37 +01:00
|
|
|
];
|