MonarcAppBO/config/autoload/local.php.dist

64 lines
1.7 KiB
Plaintext
Raw Normal View History

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.
*/
2024-10-04 19:09:41 +02:00
$package_json = json_decode(file_get_contents('./package.json'), true);
return [
'doctrine' => [
'connection' => [
'orm_default' => [
'params' => [
'host' => 'localhost',
'user' => 'sqlmonarcuser',
'password' => 'password',
'dbname' => 'monarc_common',
2024-10-04 19:09:41 +02:00
],
],
'orm_cli' => [
'params' => [
'host' => 'localhost',
'user' => 'sqlmonarcuser',
'password' => 'password',
2016-06-02 14:02:25 +02:00
'dbname' => 'monarc_master',
2024-10-04 19:09:41 +02:00
],
],
],
],
2016-07-28 11:20:16 +02:00
/* Link with (ModuleCore)
config['languages'] = [
'fr' => array(
'index' => 1,
'label' => 'Français'
),
'en' => array(
'index' => 2,
'label' => 'English'
),
'de' => array(
'index' => 3,
'label' => 'Deutsch'
),
]
*/
2024-10-04 19:09:41 +02:00
'appVersion' => $package_json['version'],
'activeLanguages' => ['fr','en','de','nl'],
'monarc' => [
2016-07-28 11:20:16 +02:00
'ttl' => 20, // timeout
'salt' => '', // salt privé pour chiffrement pwd
2024-10-04 19:09:41 +02:00
],
];