mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-07 16:55:38 +08:00
add swoole-hook-odbc to work the same way as the other hooks
This commit is contained in:
@@ -18,10 +18,6 @@ class swoole_hook_mysql extends Extension
|
||||
|
||||
public function runCliCheckUnix(): void
|
||||
{
|
||||
// skip if not enable swoole
|
||||
if ($this->builder->getExt('swoole') === null) {
|
||||
return;
|
||||
}
|
||||
[$ret, $out] = shell()->execWithResult(BUILD_ROOT_PATH . '/bin/php -n' . $this->getSharedExtensionLoadString() . ' --ri "swoole"');
|
||||
$out = implode('', $out);
|
||||
if ($ret !== 0) {
|
||||
|
||||
Reference in New Issue
Block a user