2021-07-17 16:48:02 +02: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
|
|
|
|
*
|
|
|
|
* If you're unsure about what any of the config keys below do, please check the static/defaults.config.php file for
|
|
|
|
* detailed documentation of their data type and behavior.
|
|
|
|
*/
|
|
|
|
|
|
|
|
return [
|
|
|
|
'database' => [
|
|
|
|
'hostname' => 'localhost',
|
2022-06-11 10:25:22 +02:00
|
|
|
'username' => '__DB_USER__',
|
2021-07-17 16:48:02 +02:00
|
|
|
'password' => '__DB_PWD__',
|
|
|
|
'database' => '__DB_NAME__',
|
|
|
|
'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' => [
|
2023-08-21 18:25:03 +02:00
|
|
|
'php_path' => '/usr/bin/php'
|
2021-07-17 16:48:02 +02:00
|
|
|
'admin_email' => '__EMAIL__',
|
|
|
|
'sitename' => 'Friendica Social Network',
|
|
|
|
'register_policy' => \Friendica\Module\Register::OPEN,
|
2023-08-21 18:25:03 +02:00
|
|
|
'max_import_size' => 200000,
|
2021-07-17 16:48:02 +02:00
|
|
|
],
|
|
|
|
'system' => [
|
2023-08-21 18:25:03 +02:00
|
|
|
'url' => 'https://__DOMAIN__',
|
|
|
|
'basepath' => '__INSTALL_DIR__'
|
2022-06-11 10:25:22 +02:00
|
|
|
'default_timezone' => '__TIMEZONE__',
|
2021-07-19 09:57:05 +02:00
|
|
|
'language' => '__LANGUAGE__',
|
2021-07-17 16:48:02 +02:00
|
|
|
],
|
|
|
|
];
|