1
1
Fork 0

Add constant case to config migration tables

- Remove triple points in config example
This commit is contained in:
Hypolite Petovan 2018-11-27 02:46:37 -05:00
parent 1141e15ccf
commit 60aedb1df9

View file

@ -134,6 +134,16 @@ $a->config["key"] = "value";
'config' => [ 'config' => [
'key' => 'value', 'key' => 'value',
], ],
</pre></td>
</tr>
<tr>
<td><pre>
$a->config['register_policy'] = REGISTER_CLOSED;
</pre></td>
<td><pre>
'config' => [
'register_policty' => REGISTER_CLOSED,
],
</pre></td> </pre></td>
</tr> </tr>
<tr> <tr>
@ -223,6 +233,17 @@ key = value
'section' => [ 'section' => [
'key' => 'value', 'key' => 'value',
], ],
</pre></td>
</tr>
<tr>
<td><pre>
[config]
register_policty = REGISTER_CLOSED
</pre></td>
<td><pre>
'config' => [
'register_policty' => REGISTER_CLOSED,
],
</pre></td> </pre></td>
</tr> </tr>
<tr> <tr>
@ -250,7 +271,6 @@ If you need to specify a port to access the database, you can do so by appending
'database' => [ 'database' => [
'hostname' => 'your.mysqlhost.com:123456', 'hostname' => 'your.mysqlhost.com:123456',
...
] ]
If all of the following environment variables are set, Friendica will use them instead of the previously configured variables for the db: If all of the following environment variables are set, Friendica will use them instead of the previously configured variables for the db: