diff options
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/config.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/config.rst b/doc/source/config.rst index 84e3fa9..c01377c 100644 --- a/doc/source/config.rst +++ b/doc/source/config.rst | |||
| @@ -269,8 +269,8 @@ allow this to be prevented. | |||
| 269 | :: | 269 | :: |
| 270 | 270 | ||
| 271 | # Allow `id.php` to restrict system() calls to `id` | 271 | # Allow `id.php` to restrict system() calls to `id` |
| 272 | sp.disable_function.function("system").filename("id.php").param("cmd").value("id").allow(); | 272 | sp.disable_function.function("system").filename("/var/www/html/id.php").param("cmd").value("id").allow(); |
| 273 | sp.disable_function.function("system").filename("id.php").drop() | 273 | sp.disable_function.function("system").filename("/var/www/html/id.php").drop() |
| 274 | 274 | ||
| 275 | Of course, this is a trivial example, a lot can be achieved with this feature, as you will see below. | 275 | Of course, this is a trivial example, a lot can be achieved with this feature, as you will see below. |
| 276 | 276 | ||
