mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-09 18:05:36 +08:00
array
This commit is contained in:
@@ -19,6 +19,7 @@ class GoXcaddyCheck
|
|||||||
if (!ApplicationContext::has('craft')) {
|
if (!ApplicationContext::has('craft')) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
/** @var null|array $craft */
|
||||||
$craft = ApplicationContext::get('craft');
|
$craft = ApplicationContext::get('craft');
|
||||||
return in_array('frankenphp', $craft['sapi'] ?? [], true);
|
return in_array('frankenphp', $craft['sapi'] ?? [], true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user