diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/default.rules | 2 | ||||
| -rw-r--r-- | config/default_php8.rules | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/default.rules b/config/default.rules index ea65e01..b964073 100644 --- a/config/default.rules +++ b/config/default.rules | |||
| @@ -13,7 +13,7 @@ sp.disable_xxe.enable(); | |||
| 13 | # sp.global.secret_key("YOU _DO_ NEED TO CHANGE THIS WITH SOME RANDOM CHARACTERS."); | 13 | # sp.global.secret_key("YOU _DO_ NEED TO CHANGE THIS WITH SOME RANDOM CHARACTERS."); |
| 14 | 14 | ||
| 15 | # Globally activate strict mode | 15 | # Globally activate strict mode |
| 16 | # https://secure.php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration.strict | 16 | # https://www.php.net/manual/en/language.types.declarations.php#language.types.declarations.strict |
| 17 | # sp.global_strict.enable(); | 17 | # sp.global_strict.enable(); |
| 18 | 18 | ||
| 19 | # Prevent unserialize-related exploits | 19 | # Prevent unserialize-related exploits |
diff --git a/config/default_php8.rules b/config/default_php8.rules index c024176..de2da5c 100644 --- a/config/default_php8.rules +++ b/config/default_php8.rules | |||
| @@ -14,7 +14,7 @@ sp.disable_xxe.enable(); | |||
| 14 | # sp.global.secret_key("YOU _DO_ NEED TO CHANGE THIS WITH SOME RANDOM CHARACTERS."); | 14 | # sp.global.secret_key("YOU _DO_ NEED TO CHANGE THIS WITH SOME RANDOM CHARACTERS."); |
| 15 | 15 | ||
| 16 | # Globally activate strict mode | 16 | # Globally activate strict mode |
| 17 | # https://secure.php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration.strict | 17 | # https://www.php.net/manual/en/language.types.declarations.php#language.types.declarations.strict |
| 18 | # sp.global_strict.enable(); | 18 | # sp.global_strict.enable(); |
| 19 | 19 | ||
| 20 | # Prevent unserialize-related exploits | 20 | # Prevent unserialize-related exploits |
