Added warning for special characters in docs and template (#5402)
parent
346790cbbc
commit
5790a0c58a
|
@ -8,6 +8,7 @@ Database config values overwrite the same file config values.
|
|||
|
||||
## File configuration
|
||||
|
||||
WARNING: some characters `?{}|&~![()^"` should not be used in the keys or values. If one of those character is required put the value between double quotes (eg. password = "let&me&in")
|
||||
The configuration format for file configuration is an INI string returned from a PHP file.
|
||||
This prevents your webserver from displaying your private configuration it interprets the configuration files and displays nothing.
|
||||
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
; documentation of their data type and behavior.
|
||||
|
||||
[database]
|
||||
hostname = {{$dbhost}}
|
||||
username = {{$dbuser}}
|
||||
password = {{$dbpass}}
|
||||
database = {{$dbdata}}
|
||||
hostname = "{{$dbhost}}"
|
||||
username = "{{$dbuser}}"
|
||||
password = "{{$dbpass}}"
|
||||
database = "{{$dbdata}}"
|
||||
charset = utf8mb4
|
||||
|
||||
; ****************************************************************
|
||||
|
@ -15,9 +15,9 @@ charset = utf8mb4
|
|||
; ****************************************************************
|
||||
|
||||
[config]
|
||||
php_path = {{$phpath}}
|
||||
php_path = "{{$phpath}}"
|
||||
|
||||
admin_email = {{$adminmail}}
|
||||
admin_email = "{{$adminmail}}"
|
||||
|
||||
sitename = Friendica Social Network
|
||||
|
||||
|
@ -27,11 +27,11 @@ register_text =
|
|||
max_import_size = 200000
|
||||
|
||||
[system]
|
||||
urlpath = {{$urlpath}}
|
||||
urlpath = "{{$urlpath}}"
|
||||
|
||||
default_timezone = {{$timezone}}
|
||||
default_timezone = "{{$timezone}}"
|
||||
|
||||
language = {{$language}}
|
||||
language = "{{$language}}"
|
||||
|
||||
allowed_themes = vier,quattro,duepuntozero,smoothly,frio
|
||||
theme = vier
|
||||
|
|
Loading…
Reference in New Issue