Skip to content

Commit d4bd820

Browse files
authored
Merge pull request #937 from ExpressionEngine/fix-env-example
few more fixes
2 parents 1ba22a7 + 89d440f commit d4bd820

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docs/advanced-usage/env-support.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,18 +83,15 @@ The site short name can be accessed in the code using `$GLOBALS['assign_to_confi
8383
The below example demonstrates this approach, assuming you have 2 MSM sites with short names of `default_site` and `second_site`
8484

8585
```
86-
# .env.php
87-
88-
# SITE-SPECIFIC SETTINGS
89-
86+
// .env.php
87+
// SITE-SPECIFIC SETTINGS
9088
default_site.BASE_PATH=/home/sites/mysite.test/
9189
default_site.BASE_URL=http://mysite.test/
9290
9391
second_site.BASE_PATH=/home/sites/anothersite.test/
9492
second_site.BASE_URL=http://anothersite.test/
9593
96-
# DATABASE SETTINGS
97-
# # # # # # # # # # # #
94+
// DATABASE SETTINGS
9895
DB_HOSTNAME=db
9996
DB_DATABASE=db
10097
DB_USERNAME=db

0 commit comments

Comments
 (0)