Skip to content

Commit

Permalink
chore: remove check for suhosin.executor.func.blacklist
Browse files Browse the repository at this point in the history
Suhosin is/was a PHP extension.
The last release was 2015-05-21.
Suhosin does not support PHP 8.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
  • Loading branch information
kesselb committed Jun 1, 2023
1 parent ff66104 commit 0844ce4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/public/Util.php
Expand Up @@ -611,11 +611,6 @@ public static function isFunctionEnabled(string $functionName): bool {
if (in_array($functionName, $disabled)) {
return false;
}
$disabled = explode(',', $ini->get('suhosin.executor.func.blacklist') ?: '');
$disabled = array_map('trim', $disabled);
if (in_array($functionName, $disabled)) {
return false;
}
return true;
}
}

0 comments on commit 0844ce4

Please sign in to comment.