-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
97 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Configuration | ||
|
||
# cond.d | ||
Tine can load additional configurations from a directory. This directory can be configured: `'confdfolder' => '/path/to/folder',`. | ||
|
||
Configs files must evaluate to a config array analog to config.inc.php. Two formats are supported: `.inc.php` and `.inc.json`. | ||
|
||
They are loaded in ascending order. The individual loaded config are deep merged. | ||
|
||
```php | ||
<?php | ||
|
||
return [ | ||
'broadcasthub' => [ | ||
'active' => true, | ||
'url' => 'ws://localhost:4003', | ||
'redis' => [ | ||
'host' => 'cache', | ||
], | ||
], | ||
]; | ||
``` | ||
|
||
```json | ||
{ | ||
"broadcasthub": { | ||
"active": true, | ||
"url": "ws://localhost:4003", | ||
"redis" { | ||
"host": "cache" | ||
} | ||
} | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters