diff options
| author | jvoisin | 2018-01-17 14:53:40 +0100 |
|---|---|---|
| committer | jvoisin | 2018-01-17 14:53:40 +0100 |
| commit | c473be13687ebd98c328f390d936be311dae7db6 (patch) | |
| tree | 135d31682ca0a382fc417f1d008c9ee8bcd49d5d /doc/source | |
| parent | bd02d0689190f526c99eee9b35c1335bd96a74af (diff) | |
Our configuration files are ending in .rules, not .ini
This commit fixes the documentation, our shipped configuration files,
and the related tests.
Thanks to @remicollet for the tip
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/config.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/config.rst b/doc/source/config.rst index 794d8b0..c7e1346 100644 --- a/doc/source/config.rst +++ b/doc/source/config.rst | |||
| @@ -4,10 +4,10 @@ Configuration | |||
| 4 | Since PHP *ini-like* configuration model isn't flexible enough, | 4 | Since PHP *ini-like* configuration model isn't flexible enough, |
| 5 | Snuffleupagus is using its own format in the file specified by | 5 | 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.ini``. | 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.ini,/etc/php/conf.d/sp_wordpress.ini`` | 10 | ``sp.configuration_file=/etc/php/conf.d/snuffleupagus.rules,/etc/php/conf.d/sp_wordpress.rules`` |
| 11 | 11 | ||
| 12 | Options are chainable by using dots (``.``) and string parameters | 12 | Options are chainable by using dots (``.``) and string parameters |
| 13 | **must** be quoted, while booleans and integers aren't. | 13 | **must** be quoted, while booleans and integers aren't. |
| @@ -399,5 +399,5 @@ The following rules will: | |||
| 399 | Miscellaneous examples | 399 | Miscellaneous examples |
| 400 | """""""""""""""""""""" | 400 | """""""""""""""""""""" |
| 401 | 401 | ||
| 402 | .. literalinclude:: ../../config/examples.ini | 402 | .. literalinclude:: ../../config/examples.rules |
| 403 | :language: python | 403 | :language: python |
