mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-04 07:15:38 +08:00
xcaddy fails with this, because the module still calls itself dunglas/frankenphp
This commit is contained in:
@@ -318,7 +318,7 @@ abstract class UnixBuilderBase extends BuilderBase
|
||||
$xcaddyModules = getenv('SPC_CMD_VAR_FRANKENPHP_XCADDY_MODULES');
|
||||
// make it possible to build from a different frankenphp directory!
|
||||
if (!str_contains($xcaddyModules, '--with github.com/php/frankenphp')) {
|
||||
$xcaddyModules = '--with github.com/php/frankenphp ' . $xcaddyModules;
|
||||
$xcaddyModules = '--with github.com/dunglas/frankenphp ' . $xcaddyModules;
|
||||
}
|
||||
if ($this->getLib('brotli') === null && str_contains($xcaddyModules, '--with github.com/dunglas/caddy-cbrotli')) {
|
||||
logger()->warning('caddy-cbrotli module is enabled, but brotli library is not built. Disabling caddy-cbrotli.');
|
||||
|
||||
Reference in New Issue
Block a user