]> git.mxchange.org Git - friendica.git/commitdiff
Add constant case to config migration tables
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 27 Nov 2018 07:46:37 +0000 (02:46 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 27 Nov 2018 07:46:37 +0000 (02:46 -0500)
- Remove triple points in config example

doc/Config.md

index f85ceb4985ca71d88438bfc1356aaf9bd49b845a..a187331dd645cb3f34ddec3349e312fbafd5c8fd 100644 (file)
@@ -136,6 +136,16 @@ $a->config["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>
+        </tr>
                <tr>
                        <td><pre>
 $a->path = "value";
@@ -225,6 +235,17 @@ key = value
 ],
 </pre></td>
                </tr>
+               <tr>
+            <td><pre>
+[config]
+register_policty = REGISTER_CLOSED
+</pre></td>
+                               <td><pre>
+'config' => [
+    'register_policty' => REGISTER_CLOSED,
+],
+</pre></td>
+        </tr>
                <tr>
                        <td><pre>
 [section]
@@ -250,7 +271,6 @@ If you need to specify a port to access the database, you can do so by appending
 
     'database' => [
         '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: