think-worker icon indicating copy to clipboard operation
think-worker copied to clipboard

5.1 无法读取配置,报错:Undefined index: app_path

Open lindaoling opened this issue 2 years ago • 0 comments

系统:win10 PHP:7.2 版本:topthink/think-worker": "2.0.* 启动:php think worker 报错:Undefined index: app_path

vendor\topthink\think-worker\src\command\Worker.php 63 行 $this->config = config('worker'); 读取不到配置,导致 $worker->setAppPath($this->config['app_path']);报错

lindaoling avatar Mar 16 '22 02:03 lindaoling