Skip to content

Commit

Permalink
Merge pull request #136 from StrykeSlammerII/patch-1
Browse files Browse the repository at this point in the history
Ch 9 proofreading
  • Loading branch information
lcharette authored Mar 31, 2024
2 parents 9c8109e + 7b34843 commit 619d632
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions pages/09.configuration/01.environment-vars/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ The basic database settings for UserFrosting can be set through environment vari
| `DB_USER` | The database user account |
| `DB_PASSWORD` | The database user password |
| `MAIL_MAILER` | Set to one of 'smtp', 'mail', 'qmail', 'sendmail' |
| `MAIL_FROM_ADDRESS` | Outgoing email are sent from this address |
| `MAIL_FROM_NAME` | Outgoing email are sent with this name |
| `MAIL_FROM_ADDRESS` | Outgoing emails are sent from this address |
| `MAIL_FROM_NAME` | Outgoing emails are sent with this name |
| `SMTP_HOST` | SMTP server host used to send emails |
| `SMTP_USER` | SMTP server user used to send emails |
| `SMTP_PASSWORD` | SMTP server user password used to send emails |
| `SMTP_PORT` | SMTP server port |
| `SMTP_AUTH` | SMTP server authentication enabled (true or false) |
| `SMTP_SECURE` | Enable TLS encryption. Set to `tls`, `ssl` or `false` (to disabled) |
| `SMTP_SECURE` | Enable TLS encryption. Set to `tls`, `ssl` or `false` (to disable) |

If you don't want to (or can't) configure environment variables directly in your development environment, UserFrosting uses the fantastic [phpdotenv](https://github.com/vlucas/phpdotenv) library to let you set these variables in a `.env` file. When running the `bake` installer, this file will be created for you. To make any modifications, your can run the following **Bakery** helper command:

Expand All @@ -44,4 +44,4 @@ $ cp app/.env.example app/.env

Now, you can set values in the `.env` file and UserFrosting will pick them up _as if_ they were actual environment variables.

You may also want to configure your SMTP server settings as well at this point so that you can use features that require mail, such as password reset and email verification. See [Chapter 14](/mail) for more information on the mail service.
You may also want to configure your SMTP server settings as well at this point so that you can use features that require mail, such as password reset and email verification. See [Chapter 16](/mail) for more information on the mail service.
6 changes: 3 additions & 3 deletions pages/09.configuration/02.config-files/docs.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: Configuration Files
metadata:
description: Configuration files allow you to customize the default behavior of UserFrosting - for example to toggle debugging, caching, and logging behavior and to set other sitewide settings.
description: Configuration files allow you to customize the default behavior of UserFrosting - for example, to toggle debugging, caching, and logging behaviors and to set other sitewide settings.
taxonomy:
category: docs
---

Configuration files allow you to customize the default behavior of UserFrosting - for example to toggle debugging, caching, and logging behavior and to set other sitewide settings. Configuration files are found in the `config/` directory of Sprinkles.
Configuration files allow you to customize the default behavior of UserFrosting - for example, to toggle debugging, caching, and logging behaviors and to set other sitewide settings. Configuration files are found in the `config/` directory of each Sprinkle.

## File Structure

Expand Down Expand Up @@ -84,7 +84,7 @@ The default environment mode includes:
| Mode | Description |
| :--------: | ----------------------------------------------------------------------------- |
| default | The default mode. Should be used only for development. |
| production | Serve optimized assets and error management the front user facing application |
| production | Serve optimized assets and error management for the front user facing application |
| debug | Enables all debugging options |
| testing | Mode used for [automated testing](/testing) |

Expand Down

0 comments on commit 619d632

Please sign in to comment.