We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec6a857 commit 05be7ddCopy full SHA for 05be7dd
src/DebugBar/Storage/FileStorage.php
@@ -23,6 +23,9 @@ class FileStorage implements StorageInterface
23
public function __construct($dirname)
24
{
25
$this->dirname = rtrim($dirname, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
26
+ if (!file_exists($this->dirname)) {
27
+ mkdir($this->dirname, 0777, true);
28
+ }
29
}
30
31
/**
@@ -77,4 +80,4 @@ public function makeFilename($id)
77
80
78
81
return $this->dirname . "$id.json";
79
82
-}
83
+}
0 commit comments