Skip to content

Commit

Permalink
Merge pull request #1 from buschmann23/master
Browse files Browse the repository at this point in the history
Fix creation of chunk folder if needed.
  • Loading branch information
Martin Kluska authored Jul 5, 2016
2 parents 8e471a5 + e9ae7f9 commit ac13375
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Save/ChunkSave.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
}

0 comments on commit ac13375

Please sign in to comment.