From a16cfbfabcfa7008130a51edc19c0ace0f349f9c Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 18 Jan 2018 12:05:31 +0100 Subject: Document the glob feature --- doc/source/config.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'doc/source/config.rst') 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 the directive ``sp.configuration_file`` (in your ``php.ini`` file), like ``sp.configuration_file=/etc/php/conf.d/snuffleupagus.rules``. -You can use the ``,`` separator to include multiple configuration files : -``sp.configuration_file=/etc/php/conf.d/snuffleupagus.rules,/etc/php/conf.d/sp_wordpress.rules`` +You can use the ``,`` separator to include multiple configuration files: +``sp.configuration_file=/etc/php/conf.d/snuffleupagus.rules,/etc/php/conf.d/sp_wordpress.rules``. + +We're also also supporting `glob `__, +so you can write something like: +``sp.configuration_file=/etc/php/conf.d/*.rules,/etc/php/conf.d/extra/test.rules``. + Options are chainable by using dots (``.``) and string parameters **must** be quoted, while booleans and integers aren't. -- cgit v1.3