mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 13:24:51 +08:00
fix file_exists check in printing shared extension folder
This commit is contained in:
parent
3bc5ac28be
commit
55b4ba5832
@ -251,7 +251,7 @@ class BuildPHPCommand extends BuildCommand
|
||||
if (!empty($shared_extensions)) {
|
||||
foreach ($shared_extensions as $ext) {
|
||||
$path = FileSystem::convertPath("{$build_root_path}/modules/{$ext}.so");
|
||||
if (file_exists("{$build_root_path}/modules/{$ext}.so")) {
|
||||
if (file_exists(BUILD_MODULES_PATH . "/{$ext}.so")) {
|
||||
logger()->info("Shared extension [{$ext}] path{$fixed}: {$path}");
|
||||
} else {
|
||||
logger()->warning("Shared extension [{$ext}] not found, please check!");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user