mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
Fix shared-extensions as optional
{craft}
extensions: curl,ast
sapi: cli,micro
{/craft}
This commit is contained in:
parent
3a0d21eb44
commit
fe455bf901
@ -49,7 +49,7 @@ class CraftCommand extends BaseCommand
|
|||||||
}
|
}
|
||||||
|
|
||||||
$static_extensions = implode(',', $craft['extensions']);
|
$static_extensions = implode(',', $craft['extensions']);
|
||||||
$shared_extensions = implode(',', $craft['shared-extensions']);
|
$shared_extensions = implode(',', $craft['shared-extensions'] ?? []);
|
||||||
$libs = implode(',', $craft['libs']);
|
$libs = implode(',', $craft['libs']);
|
||||||
|
|
||||||
// init log
|
// init log
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user