]> git.mxchange.org Git - friendica.git/commitdiff
Fix segfault in PHP 5.6 parsing INI strings
authorHypolite Petovan <mrpetovan@gmail.com>
Thu, 12 Jul 2018 02:24:52 +0000 (22:24 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Mon, 16 Jul 2018 23:38:17 +0000 (19:38 -0400)
- add documentation to generated local.ini.php file

view/templates/local.ini.tpl

index 632b34e5a7030808234232e3955ec040377ab2a5..109a7323019d19715639b63beff2dd886f0fa5b4 100644 (file)
@@ -1,5 +1,8 @@
 <?php return <<<INI
 
+; If you're unsure about what any of the config keys below do, please check the config/defaults.ini.php for detailed
+; documentation of their data type and behavior.
+
 [database]
 hostname = {{$dbhost}}
 username = {{$dbuser}}
@@ -33,11 +36,11 @@ language = {{$language}}
 allowed_themes = vier,quattro,duepuntozero,smoothly,frio
 theme = vier
 
-allowed_link_protocols[] = ftp
-allowed_link_protocols[] = ftps
-allowed_link_protocols[] = mailto
-allowed_link_protocols[] = cid
-allowed_link_protocols[] = gopher
+allowed_link_protocols[0] = ftp
+allowed_link_protocols[1] = ftps
+allowed_link_protocols[2] = mailto
+allowed_link_protocols[3] = cid
+allowed_link_protocols[4] = gopher
 
 maximagesize = 800000