Skip to content

Commit eeeabd9

Browse files
NiexiaweiReasno
andauthored
Update DomainConfig.php (#25)
* Update DomainConfig.php gotaks.php 配置文件中的 enable 与当前文件的 enabled 不一致导致 GoTask 进程无法启动 * Avoid breaking change Co-authored-by: 谷溪 <[email protected]>
1 parent 71e5b01 commit eeeabd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Config/DomainConfig.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function getExecutable(): string
3737

3838
public function isEnabled(): bool
3939
{
40-
return $this->config->get('gotask.enabled', false);
40+
return $this->config->get('gotask.enable', false) || $this->config->get('gotask.enabled', false);
4141
}
4242

4343
public function getAddress(): string

0 commit comments

Comments
 (0)