Skip to content

Commit 7d61af0

Browse files
committed
update: 修复警告
1 parent 1867716 commit 7d61af0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main.php

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
Server::verifyEnv($dotenv);
2727
}
2828

29+
if (!file_exists(RUNTIME_DIR)) {
30+
@mkdir(RUNTIME_DIR, 0755, true);
31+
}
32+
2933
$app = new Application('socket-log-server', VERSION_TITLE);
3034
$command = new ServerCommand();
3135
$app->add($command);

0 commit comments

Comments
 (0)