]> git.mxchange.org Git - friendica.git/blob - config/local-sample.config.php
Fix StorageManager::move()
[friendica.git] / config / local-sample.config.php
1 <?php
2
3 // Local configuration
4
5 /* If automatic system installation fails:
6  *
7  * Copy this file to local.config.php
8  *
9  * Why local.config.php? Because it contains sensitive information which could
10  * give somebody complete control of your database. Apache's default
11  * configuration will interpret any .php file as a script and won't show the values
12  *
13  * Then set the following for your MySQL installation
14  *
15  * If you're unsure about what any of the config keys below do, please check the config/defaults.config.php file for
16  * detailed documentation of their data type and behavior.
17  */
18
19 return [
20         'database' => [
21                 'hostname' => 'localhost',
22                 'username' => 'mysqlusername',
23                 'password' => 'mysqlpassword',
24                 'database' => 'mysqldatabasename',
25                 'charset' => 'utf8mb4',
26         ],
27
28         // ****************************************************************
29         // The configuration below will be overruled by the admin panel.
30         // Changes made below will only have an effect if the database does
31         // not contain any configuration for the friendica system.
32         // ****************************************************************
33
34         'config' => [
35                 'admin_email' => '',
36                 'sitename' => 'Friendica Social Network',
37                 'register_policy' => REGISTER_OPEN,
38                 'register_text' => '',
39         ],
40         'system' => [
41                 'default_timezone' => 'UTC',
42                 'language' => 'en',
43         ],
44 ];