summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2018-01-18 12:05:31 +0100
committerjvoisin2018-01-18 12:05:31 +0100
commita16cfbfabcfa7008130a51edc19c0ace0f349f9c (patch)
treee62dc1fd9c30344c04bba740610074ef480cd54d
parent5019866c94a7aab18ebbb14061e0ce22fb4adc47 (diff)
Document the glob feature
-rw-r--r--doc/source/config.rst9
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
6the directive ``sp.configuration_file`` (in your ``php.ini`` file), 6the directive ``sp.configuration_file`` (in your ``php.ini`` file),
7like ``sp.configuration_file=/etc/php/conf.d/snuffleupagus.rules``. 7like ``sp.configuration_file=/etc/php/conf.d/snuffleupagus.rules``.
8 8
9You can use the ``,`` separator to include multiple configuration files : 9You 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
12We're also also supporting `glob <https://en.wikipedia.org/wiki/Glob_%28programming%29>`__,
13so you can write something like:
14``sp.configuration_file=/etc/php/conf.d/*.rules,/etc/php/conf.d/extra/test.rules``.
15
11 16
12Options are chainable by using dots (``.``) and string parameters 17Options 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.