think-worker
think-worker copied to clipboard
5.1 无法读取配置,报错:Undefined index: app_path
系统: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']);
报错