mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
improve check install status when running in docker
This commit is contained in:
@@ -176,6 +176,11 @@ final class Nexus
|
||||
return false;
|
||||
}
|
||||
|
||||
public function isFpmMode(): bool
|
||||
{
|
||||
return php_sapi_name() === 'fpm-fcgi';
|
||||
}
|
||||
|
||||
private function generateRequestId(): string
|
||||
{
|
||||
$prefix = ($_SERVER['SCRIPT_FILENAME'] ?? '') . implode('', $_SERVER['argv'] ?? []);
|
||||
|
||||
Reference in New Issue
Block a user