diff options
| author | jvoisin | 2018-01-18 12:05:31 +0100 |
|---|---|---|
| committer | jvoisin | 2018-01-18 12:05:31 +0100 |
| commit | a16cfbfabcfa7008130a51edc19c0ace0f349f9c (patch) | |
| tree | e62dc1fd9c30344c04bba740610074ef480cd54d /doc/source | |
| parent | 5019866c94a7aab18ebbb14061e0ce22fb4adc47 (diff) | |
Document the glob feature
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/config.rst | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/source/config.rst b/doc/source/config.rst index c7e1346..337bc25 100644 --- a/doc/source/config.rst +++ b/doc/source/config.rst | |||
| @@ -6,8 +6,13 @@ Snuffleupagus is using its own format in the file specified by | |||
| 6 | the directive ``sp.configuration_file`` (in your ``php.ini`` file), | 6 | the directive ``sp.configuration_file`` (in your ``php.ini`` file), |
| 7 | like ``sp.configuration_file=/etc/php/conf.d/snuffleupagus.rules``. | 7 | like ``sp.configuration_file=/etc/php/conf.d/snuffleupagus.rules``. |
| 8 | 8 | ||
| 9 | You can use the ``,`` separator to include multiple configuration files : | 9 | You can use the ``,`` separator to include multiple configuration files: |
| 10 | ``sp.configuration_file=/etc/php/conf.d/snuffleupagus.rules,/etc/php/conf.d/sp_wordpress.rules`` | 10 | ``sp.configuration_file=/etc/php/conf.d/snuffleupagus.rules,/etc/php/conf.d/sp_wordpress.rules``. |
| 11 | |||
| 12 | We're also also supporting `glob <https://en.wikipedia.org/wiki/Glob_%28programming%29>`__, | ||
| 13 | so you can write something like: | ||
| 14 | ``sp.configuration_file=/etc/php/conf.d/*.rules,/etc/php/conf.d/extra/test.rules``. | ||
| 15 | |||
| 11 | 16 | ||
| 12 | Options are chainable by using dots (``.``) and string parameters | 17 | Options are chainable by using dots (``.``) and string parameters |
| 13 | **must** be quoted, while booleans and integers aren't. | 18 | **must** be quoted, while booleans and integers aren't. |
