Skip to content

Commit

Permalink
update: 修复警告
Browse files Browse the repository at this point in the history
  • Loading branch information
NHZEX committed May 24, 2024
1 parent 1867716 commit 7d61af0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
Server::verifyEnv($dotenv);
}

if (!file_exists(RUNTIME_DIR)) {
@mkdir(RUNTIME_DIR, 0755, true);
}

$app = new Application('socket-log-server', VERSION_TITLE);
$command = new ServerCommand();
$app->add($command);
Expand Down

0 comments on commit 7d61af0

Please sign in to comment.