Skip to content

Commit

Permalink
Merge pull request #41 from hyperf/Reasno-patch-1
Browse files Browse the repository at this point in the history
fix: wrong usage of constant check
  • Loading branch information
Reasno authored Apr 21, 2021
2 parents 6e414c7 + bf8ccbf commit 8202bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function __invoke(): array

public static function address()
{
if (defined(BASE_PATH)) {
if (defined("BASE_PATH")) {
$root = BASE_PATH . '/runtime';
} else {
$root = '/tmp';
Expand Down

0 comments on commit 8202bbc

Please sign in to comment.