Add basepath to vagrant config file

This commit is contained in:
Philipp Holzer 2019-04-14 13:54:36 +02:00
parent d90eb6a811
commit d579d9e1d0
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5

View file

@ -1,41 +1,42 @@
<?php <?php
// Local configuration // Local configuration
/* If automatic system installation fails: /* If automatic system installation fails:
* *
* Copy this file to local.config.php * Copy this file to local.config.php
* *
* Why local.config.php? Because it contains sensitive information which could * Why local.config.php? Because it contains sensitive information which could
* give somebody complete control of your database. Apache's default * give somebody complete control of your database. Apache's default
* configuration will interpret any .php file as a script and won't show the values * configuration will interpret any .php file as a script and won't show the values
* *
* Then set the following for your MySQL installation * Then set the following for your MySQL installation
*/ */
return [ return [
'database' => [ 'database' => [
'hostname' => 'localhost', 'hostname' => 'localhost',
'username' => 'friendica', 'username' => 'friendica',
'password' => 'friendica', 'password' => 'friendica',
'database' => 'friendica', 'database' => 'friendica',
'charset' => 'utf8mb4', 'charset' => 'utf8mb4',
], ],
// **************************************************************** // ****************************************************************
// The configuration below will be overruled by the admin panel. // The configuration below will be overruled by the admin panel.
// Changes made below will only have an effect if the database does // Changes made below will only have an effect if the database does
// not contain any configuration for the friendica system. // not contain any configuration for the friendica system.
// **************************************************************** // ****************************************************************
'config' => [ 'config' => [
'admin_email' => 'admin@friendica.local', 'admin_email' => 'admin@friendica.local',
'sitename' => 'Friendica Social Network', 'sitename' => 'Friendica Social Network',
'register_policy' => \Friendica\Module\Register::OPEN, 'register_policy' => \Friendica\Module\Register::OPEN,
'register_text' => '', 'register_text' => '',
], ],
'system' => [ 'system' => [
'default_timezone' => 'UTC', 'default_timezone' => 'UTC',
'language' => 'en', 'language' => 'en',
], 'basepath' => '/vagrant',
]; ],
];