1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/friendica_ynh.git synced 2024-09-03 18:36:14 +02:00
friendica_ynh/conf/local-sample.config.php
2024-08-23 18:34:12 +02:00

41 lines
1.2 KiB
PHP

<?php
// Local configuration
// Docs: https://github.com/friendica/friendica/blob/stable/static/settings.config.php
return [
'database' => [
'hostname' => 'localhost',
'username' => '__DB_USER__',
'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' => [
'php_path' => '/usr/bin/php',
'admin_email' => '__EMAIL__',
'sitename' => 'Friendica Social Network',
'register_policy' => \Friendica\Module\Register::OPEN,
'max_import_size' => 200000,
'register_text' => '',
],
'system' => [
'url' => 'https://__DOMAIN__',
'basepath' => '__INSTALL_DIR__',
'default_timezone' => '__TIMEZONE__',
'language' => '__LANGUAGE__',
'pidfile' => '__INSTALL_DIR__/daemon.pid',
// Blocks search for users who are not logged in to prevent crawlers from blocking your system.
'local_search' => false,
'logfile' => '/var/log/__APP__/__APP__.log',
'loglevel' => 'notice',
],
];