This commit is contained in:
the-djmaze 2023-03-28 13:54:22 +02:00
parent 28cd8245c4
commit dd74759adc
2 changed files with 1 additions and 2 deletions

View file

@ -95,7 +95,6 @@ class SnappyMailHelper
if ($handle) {
\header_remove('Content-Security-Policy');
\RainLoop\Service::Handle();
exit;
}
}

View file

@ -10,7 +10,7 @@ abstract class Service
public static function Handle() : bool
{
static $bOne = null;
if (null === $bOne) {
if (null === $bOne && false === \stripos(\php_sapi_name(), 'cli')) {
$bOne = static::RunResult();
}