]> git.mxchange.org Git - friendica.git/blob - view/templates/local.config.tpl
Dynamic config loading
[friendica.git] / view / templates / local.config.tpl
1 <?php
2
3 // Local configuration
4
5 // If you're unsure about what any of the config keys below do, please check the static/defaults.config.php for detailed
6 // documentation of their data type and behavior.
7
8 return [
9         'database' => [
10                 'hostname' => '{{$dbhost}}',
11                 'username' => '{{$dbuser}}',
12                 'password' => '{{$dbpass}}',
13                 'database' => '{{$dbdata}}',
14                 'charset' => 'utf8mb4',
15         ],
16
17         // ****************************************************************
18         // The configuration below will be overruled by the admin panel.
19         // Changes made below will only have an effect if the database does
20         // not contain any configuration for the friendica system.
21         // ****************************************************************
22
23         'config' => [
24                 'php_path' => '{{$phpath}}',
25                 'admin_email' => '{{$adminmail}}',
26                 'sitename' => 'Friendica Social Network',
27                 'hostname' => '{{$hostname}}',
28                 'register_policy' => \Friendica\Module\Register::OPEN,
29                 'max_import_size' => 200000,
30         ],
31         'system' => [
32                 'urlpath' => '{{$urlpath}}',
33                 'url' => '{{$baseurl}}',
34                 'ssl_policy' => {{$sslpolicy}},
35                 'basepath' => '{{$basepath}}',
36                 'default_timezone' => '{{$timezone}}',
37                 'language' => '{{$language}}',
38         ],
39 ];