Removing the extra /tmp from sys_get_temp_dir()

This commit is contained in:
Dan Cryer 2013-05-14 18:34:26 +01:00
parent 62e731abad
commit 5f9f839613

View file

@ -88,7 +88,7 @@ class ProjectController extends b8\Controller
}
else
{
$tempPath = sys_get_temp_dir() . '/tmp/';
$tempPath = sys_get_temp_dir() . '/';
$id = $tempPath . md5(microtime(true));
if (!is_dir($tempPath)) {
mkdir($tempPath);