mirror of
https://github.com/friendica/friendica
synced 2024-12-23 12:40:17 +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
39 lines
1.2 KiB
Smarty
39 lines
1.2 KiB
Smarty
<?php
|
|
|
|
// Local configuration
|
|
|
|
// If you're unsure about what any of the config keys below do, please check the static/defaults.config.php for detailed
|
|
// documentation of their data type and behavior.
|
|
|
|
return [
|
|
'database' => [
|
|
'hostname' => '{{$dbhost}}',
|
|
'username' => '{{$dbuser}}',
|
|
'password' => '{{$dbpass}}',
|
|
'database' => '{{$dbdata}}',
|
|
'charset' => 'utf8mb4',
|
|
],
|
|
|
|
// ****************************************************************
|
|
// The configuration below will be overruled by the admin panel.
|
|
// Changes made below will only have an effect if the database does
|
|
// not contain any configuration for the friendica system.
|
|
// ****************************************************************
|
|
|
|
'config' => [
|
|
'php_path' => '{{$phpath}}',
|
|
'admin_email' => '{{$adminmail}}',
|
|
'sitename' => 'Friendica Social Network',
|
|
'hostname' => '{{$hostname}}',
|
|
'register_policy' => \Friendica\Module\Register::OPEN,
|
|
'max_import_size' => 200000,
|
|
],
|
|
'system' => [
|
|
'urlpath' => '{{$urlpath}}',
|
|
'url' => '{{$baseurl}}',
|
|
'ssl_policy' => {{$sslpolicy}},
|
|
'basepath' => '{{$basepath}}',
|
|
'default_timezone' => '{{$timezone}}',
|
|
'language' => '{{$language}}',
|
|
],
|
|
];
|