Skip to content

Commit

Permalink
Document config.cli.php
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasbestle committed Nov 16, 2023
1 parent d061b62 commit 6624afa
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions content/docs/1_guide/12_configuration/guide.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,18 @@ Note that the settings in the standard `config.php` file are always used. If you
General settings for all environments should be included in the standard `config.php` file to avoid code duplication.
</info>

<since v="3.9.8">
### CLI configuration

If you are using Kirby with a command-line interface (or CLI for short), for example with the (link: plugins/getkirby/cli text: Kirby CLI) or with a custom script, you can define specific config overrides in a separate file:

```filesystem
/site/config/config.cli.php
```

The CLI-specific config file works like a host-specific config file in that it can override anything you put into your standard `config.php`.
</since>

### Deployment configuration

There is another optional config file that overrides any option value, no matter if it was set in `config.php` or a host-specific config file:
Expand Down

0 comments on commit 6624afa

Please sign in to comment.