]> git.mxchange.org Git - friendica.git/blob - mods/local.config.vagrant.php
Fix a notice
[friendica.git] / mods / local.config.vagrant.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
16 return [
17         'database' => [
18                 'hostname' => 'localhost',
19                 'username' => 'friendica',
20                 'password' => 'friendica',
21                 'database' => 'friendica',
22                 'charset' => 'utf8mb4',
23         ],
24
25         // ****************************************************************
26         // The configuration below will be overruled by the admin panel.
27         // Changes made below will only have an effect if the database does
28         // not contain any configuration for the friendica system.
29         // ****************************************************************
30
31         'config' => [
32                 'admin_email' => 'admin@friendica.local',
33                 'sitename' => 'Friendica Social Network',
34                 'register_policy' => \Friendica\Module\Register::OPEN,
35                 'register_text' => '',
36         ],
37         'system' => [
38                 'default_timezone' => 'UTC',
39                 'language' => 'en',
40                 'basepath' => '/vagrant',
41         ],
42 ];