This commit is contained in:
the-djmaze 2023-04-18 09:45:03 +02:00
parent c7cc250b1e
commit ad07c5b472
2 changed files with 16 additions and 12 deletions

View file

@ -11,8 +11,7 @@ abstract class Service
{
static $bOne = null;
if (null === $bOne) {
$bOne = false === \stripos(\php_sapi_name(), 'cli')
&& static::RunResult();
$bOne = static::RunResult();
}
return $bOne;