Removing the extra /tmp from sys_get_temp_dir()
This commit is contained in:
parent
62e731abad
commit
5f9f839613
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue