summaryrefslogtreecommitdiff
path: root/src/Support/Logger.php
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2026-03-05 14:57:28 +0100
committerDaniel Weipert <git@mail.dweipert.de>2026-03-05 14:57:28 +0100
commitbd11271621bd3759cfd194ed0119c0dc28155fd0 (patch)
tree319b4790d4e2b05513abf023732ed6fb0717f603 /src/Support/Logger.php
parent2386148b8f048ba40d9f26cc97898bdcdc778ea2 (diff)
updateHEADmain
Diffstat (limited to 'src/Support/Logger.php')
-rw-r--r--src/Support/Logger.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Support/Logger.php b/src/Support/Logger.php
index c806157..b01af11 100644
--- a/src/Support/Logger.php
+++ b/src/Support/Logger.php
@@ -9,6 +9,7 @@ class Logger implements LoggerInterface
{
public static function logRequestToFile(Request $request): void
{
+ @mkdir(dirname(dirname(__DIR__)) . "/.cache/log", recursive: true);
$basePath = dirname(dirname(__DIR__)) . "/.cache/log/" . str_replace("/", "_", $request->getPathInfo());
file_put_contents(