We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1ba22a7 + 89d440f commit d4bd820Copy full SHA for d4bd820
docs/advanced-usage/env-support.md
@@ -83,18 +83,15 @@ The site short name can be accessed in the code using `$GLOBALS['assign_to_confi
83
The below example demonstrates this approach, assuming you have 2 MSM sites with short names of `default_site` and `second_site`
84
85
```
86
-# .env.php
87
-
88
-# SITE-SPECIFIC SETTINGS
89
+// .env.php
+// SITE-SPECIFIC SETTINGS
90
default_site.BASE_PATH=/home/sites/mysite.test/
91
default_site.BASE_URL=http://mysite.test/
92
93
second_site.BASE_PATH=/home/sites/anothersite.test/
94
second_site.BASE_URL=http://anothersite.test/
95
96
-# DATABASE SETTINGS
97
-# # # # # # # # # # # #
+// DATABASE SETTINGS
98
DB_HOSTNAME=db
99
DB_DATABASE=db
100
DB_USERNAME=db
0 commit comments