2018-12-30 15:15:12 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
// Local configuration
|
|
|
|
|
|
|
|
/* If automatic system installation fails:
|
|
|
|
*
|
|
|
|
* Copy this file to local.config.php
|
|
|
|
*
|
|
|
|
* Why local.config.php? Because it contains sensitive information which could
|
|
|
|
* 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
|
|
|
|
*
|
|
|
|
* Then set the following for your MySQL installation
|
|
|
|
*
|
2019-06-23 17:56:21 +00:00
|
|
|
* If you're unsure about what any of the config keys below do, please check the static/defaults.config.php file for
|
2018-12-30 15:15:12 +00:00
|
|
|
* detailed documentation of their data type and behavior.
|
|
|
|
*/
|
|
|
|
|
|
|
|
return [
|
|
|
|
'database' => [
|
|
|
|
'hostname' => 'localhost',
|
|
|
|
'username' => 'mysqlusername',
|
|
|
|
'password' => 'mysqlpassword',
|
|
|
|
'database' => 'mysqldatabasename',
|
|
|
|
'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' => [
|
|
|
|
'admin_email' => '',
|
|
|
|
'sitename' => 'Friendica Social Network',
|
2018-12-28 01:56:15 +00:00
|
|
|
'register_policy' => \Friendica\Module\Register::OPEN,
|
2018-12-30 15:15:12 +00:00
|
|
|
'register_text' => '',
|
2023-01-21 20:06:19 +00:00
|
|
|
'hostname' => 'friendica.local',
|
2018-12-30 15:15:12 +00:00
|
|
|
],
|
|
|
|
'system' => [
|
|
|
|
'default_timezone' => 'UTC',
|
|
|
|
'language' => 'en',
|
2023-01-21 20:06:19 +00:00
|
|
|
'url' => 'https://friendica.local',
|
2018-12-30 15:15:12 +00:00
|
|
|
],
|
|
|
|
];
|