public function createTempFolder($prefix = '', $fullPath = true)
{
$tmp = $this->jarves->getCacheDir();
do {
$path = $tmp . $prefix . dechex(time() / mt_rand(100, 500));
} while (is_dir($path));
mkdir($path);
if ('/' !== substr($path, -1)) {
$path .= '/';
}
return $fullPath ? $path : substr($path, strlen($tmp));
}