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

42 lines
1.2 KiB
PHP
Raw Normal View History

2021-07-17 16:48:02 +02:00
<?php
// Local configuration
// Docs: https://github.com/friendica/friendica/blob/stable/static/settings.config.php
2021-07-17 16:48:02 +02:00
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' => [
'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,
'register_text' => '',
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__',
'pidfile' => '__INSTALL_DIR__/daemon.pid',
// Blocks search for users who are not logged in to prevent crawlers from blocking your system.
'local_search' => false,
2024-08-23 18:34:12 +02:00
'logfile' => '/var/log/__APP__/__APP__.log',
'loglevel' => 'notice',
2021-07-17 16:48:02 +02:00
],
];