mirror of
https://github.com/friendica/friendica
synced 2024-11-14 16:22:53 +00:00
92fb0a82ca
- Move settings, defaults and dbstructure to directory 'static' - Dynamic loading of config files (after the static loading) - Filter out '-sample.config.php' and '-sample.ini.php' files - Remove unnecessary ConfigFileManager - Move ConfigFileLoader to Utils - Add tests for multi-loading for INI, config and sample-filtering
29 lines
536 B
PHP
29 lines
536 B
PHP
<?php
|
|
|
|
/**
|
|
* A test file for local configuration
|
|
*
|
|
*/
|
|
|
|
return [
|
|
'database' => [
|
|
'hostname' => 'testhost',
|
|
'username' => 'testuser',
|
|
'password' => 'testpw',
|
|
'database' => 'testdb',
|
|
'charset' => 'utf8mb4',
|
|
],
|
|
|
|
'config' => [
|
|
'admin_email' => 'admin@overwritten.local',
|
|
'sitename' => 'Friendica Social Network',
|
|
'register_policy' => \Friendica\Module\Register::OPEN,
|
|
'register_text' => '',
|
|
],
|
|
'system' => [
|
|
'default_timezone' => 'UTC',
|
|
'language' => 'en',
|
|
'theme' => 'frio',
|
|
'newKey' => 'newValue',
|
|
],
|
|
];
|