X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftemplates%2Flocal.config.tpl;h=24b33b8cd410541f99dc676c019ef7014a96c093;hb=befc2af5043a3afde251721c0d27df695db1bb7e;hp=c4c4afba4db8e9376025660facd8791d32fac2e3;hpb=cef6757c92bff264adfdc3c89c9721252cad510d;p=friendica.git diff --git a/view/templates/local.config.tpl b/view/templates/local.config.tpl index c4c4afba4d..24b33b8cd4 100644 --- a/view/templates/local.config.tpl +++ b/view/templates/local.config.tpl @@ -2,15 +2,15 @@ // Local configuration -// If you're unsure about what any of the config keys below do, please check the config/defaults.config.php for detailed +// 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}}', - 'username' => '{{$dbuser}}', - 'password' => '{{$dbpass}}', - 'database' => '{{$dbdata}}', + 'hostname' => '{{$dbhost|escape:'quotes' nofilter}}', + 'username' => '{{$dbuser|escape:'quotes' nofilter}}', + 'password' => '{{$dbpass|escape:'quotes' nofilter}}', + 'database' => '{{$dbdata|escape:'quotes' nofilter}}', 'charset' => 'utf8mb4', ], @@ -21,15 +21,19 @@ return [ // **************************************************************** 'config' => [ - 'php_path' => '{{$phpath}}', - 'admin_email' => '{{$adminmail}}', + '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}}', - 'default_timezone' => '{{$timezone}}', - 'language' => '{{$language}}', + '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}}', ], ];