mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Add github action
This commit is contained in:
parent
1979f84dab
commit
20e0c1417d
17 changed files with 2038 additions and 2040 deletions
|
|
@ -2249,21 +2249,6 @@ END;
|
|||
|
||||
$aCache = \explode(',', $sDisableFunctions);
|
||||
$aCache = \is_array($aCache) && 0 < \count($aCache) ? $aCache : array();
|
||||
|
||||
if (\extension_loaded('suhosin'))
|
||||
{
|
||||
$sSuhosin = @\ini_get('suhosin.executor.func.blacklist');
|
||||
$sSuhosin = \is_string($sSuhosin) && 0 < \strlen($sSuhosin) ? $sSuhosin : '';
|
||||
|
||||
$aSuhosinCache = \explode(',', $sSuhosin);
|
||||
$aSuhosinCache = \is_array($aSuhosinCache) && 0 < \count($aSuhosinCache) ? $aSuhosinCache : array();
|
||||
|
||||
if (0 < \count($aSuhosinCache))
|
||||
{
|
||||
$aCache = \array_merge($aCache, $aSuhosinCache);
|
||||
$aCache = \array_unique($aCache);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return !\in_array($mFunctionNameOrNames, $aCache);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue