Skip to content

Commit 8202bbc

Browse files
authored
Merge pull request #41 from hyperf/Reasno-patch-1
fix: wrong usage of constant check
2 parents 6e414c7 + bf8ccbf commit 8202bbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ConfigProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function __invoke(): array
7171

7272
public static function address()
7373
{
74-
if (defined(BASE_PATH)) {
74+
if (defined("BASE_PATH")) {
7575
$root = BASE_PATH . '/runtime';
7676
} else {
7777
$root = '/tmp';

0 commit comments

Comments
 (0)