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 fb5cd82 commit d360f94Copy full SHA for d360f94
src/Filesystem.php
@@ -63,9 +63,11 @@ public function put(string $filename, string $contents): void
63
{
64
if (! file_exists($this->basePath)) {
65
mkdir($this->basePath, 0777, true);
66
+ chmod($this->basePath, 0777);
67
}
68
69
file_put_contents($this->path($filename), $contents);
70
+ chmod($this->path($filename), 0666);
71
72
73
public function delete(string $fileName): bool
@@ -77,9 +79,11 @@ public function copy(string $filePath, string $fileName): void
77
79
78
80
81
82
83
84
85
copy($filePath, $this->path($fileName));
86
87
88
89
public function fileEquals(string $filePath, string $fileName): bool
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments