mirror of
https://github.com/friendica/friendica
synced 2024-12-24 00:00:25 +00:00
6d5437721e
- Allows HTML special characters and quotes in DB password
39 lines
1.5 KiB
Smarty
39 lines
1.5 KiB
Smarty
<?php
|
|
|
|
// Local configuration
|
|
|
|
// If you're unsure about what any of the config keys below do, please check the static/defaults.config.php for detailed
|
|
// documentation of their data type and behavior.
|
|
|
|
return [
|
|
'database' => [
|
|
'hostname' => '{{$dbhost|escape:'quotes' nofilter}}',
|
|
'username' => '{{$dbuser|escape:'quotes' nofilter}}',
|
|
'password' => '{{$dbpass|escape:'quotes' nofilter}}',
|
|
'database' => '{{$dbdata|escape:'quotes' nofilter}}',
|
|
'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' => '{{$phpath|escape:'quotes' nofilter}}',
|
|
'admin_email' => '{{$adminmail|escape:'quotes' nofilter}}',
|
|
'sitename' => 'Friendica Social Network',
|
|
'hostname' => '{{$hostname|escape:'quotes' nofilter}}',
|
|
'register_policy' => \Friendica\Module\Register::OPEN,
|
|
'max_import_size' => 200000,
|
|
],
|
|
'system' => [
|
|
'urlpath' => '{{$urlpath|escape:'quotes' nofilter}}',
|
|
'url' => '{{$baseurl|escape:'quotes' nofilter}}',
|
|
'ssl_policy' => {{$sslpolicy|escape:'quotes' nofilter}},
|
|
'basepath' => '{{$basepath|escape:'quotes' nofilter}}',
|
|
'default_timezone' => '{{$timezone|escape:'quotes' nofilter}}',
|
|
'language' => '{{$language|escape:'quotes' nofilter}}',
|
|
],
|
|
];
|