From eaba9e0e7421fec0bc7a0cd8745dc3fb4e2e72f1 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 12 Jul 2022 23:10:06 +0200 Subject: Document extended_checks for readonly_exec --- doc/source/config.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/source/config.rst') diff --git a/doc/source/config.rst b/doc/source/config.rst index 0b7b7fd..bbf3b91 100644 --- a/doc/source/config.rst +++ b/doc/source/config.rst @@ -261,6 +261,9 @@ readonly_exec the execution of writeable PHP files. It can either be ``enabled`` or ``disabled`` and can be used in ``simulation`` mode. +``extended_checks`` can be specified to abort the execution if the executed +file or the folder containing it is owned by the user the PHP process is +running under. :: -- cgit v1.3 From cbf0a9be15e4345bbe0da0c6be305434928ea759 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 19 Jul 2022 21:26:26 +0200 Subject: Document conditions --- doc/source/config.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc/source/config.rst') diff --git a/doc/source/config.rst b/doc/source/config.rst index bbf3b91..d7f7f24 100644 --- a/doc/source/config.rst +++ b/doc/source/config.rst @@ -75,6 +75,19 @@ The terminating ``;`` is optional for now, but it should be used for future comp Miscellaneous ------------- +conditions +^^^^^^^^^^ + +It's possible to use conditions to have configuration portables accross +several setups. + +:: + @condition PHP_VERSION_ID < 80000; + # some rules + @condition PHP_VERSION_ID >= 80000; + # some other rules + @end_condition; + global ^^^^^^ -- cgit v1.3