Update install to generate config/local.config.php
This commit is contained in:
parent
d6eb1135e5
commit
98d90e131d
12 changed files with 168 additions and 89 deletions
35
view/templates/local.config.tpl
Normal file
35
view/templates/local.config.tpl
Normal file
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
|
||||
// Local configuration
|
||||
|
||||
// If you're unsure about what any of the config keys below do, please check the config/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',
|
||||
'register_policy' => 'REGISTER_OPEN',
|
||||
'max_import_size' => 200000,
|
||||
],
|
||||
'system' => [
|
||||
'urlpath' => '{{$urlpath}}',
|
||||
'default_timezone' => '{{$timezone}}',
|
||||
'language' => '{{$language}}',
|
||||
],
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue