From e9ae7f9ac5078e276ac7694476b84ca52e381665 Mon Sep 17 00:00:00 2001 From: Buschmann Date: Tue, 5 Jul 2016 15:12:51 +0200 Subject: [PATCH] Fix creation of chunk folder if needed. Use getChunkDirectory instead of getChunksPath to get the path for the chunks directory. --- src/Save/ChunkSave.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Save/ChunkSave.php b/src/Save/ChunkSave.php index 0df791e..778e0d4 100644 --- a/src/Save/ChunkSave.php +++ b/src/Save/ChunkSave.php @@ -215,11 +215,11 @@ public function chunkDisk() */ protected function createChunksFolderIfNeeded() { - $path = $this->getChunksPath(); + $path = $this->getChunkDirectory(); // creates the chunks dir if (!file_exists($path)) { mkdir($path, 0777, true); } } -} \ No newline at end of file +}