mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 09:12:51 +01:00
Use uniqid together with the PID to generate a temporary folder name
when the persistent storage it's located in the system tmp
This commit is contained in:
parent
d013f95751
commit
ad11d01e5f
@ -31,7 +31,7 @@ class Storage
|
||||
// default persistent storage in case we can't use the configured value
|
||||
// or we can't create the default location
|
||||
// use the system temporary folder and the current pid to make the path unique
|
||||
$tmp = sys_get_temp_dir() . '/' . uuid(posix_getpid());
|
||||
$tmp = sys_get_temp_dir() . '/' . uniqid(posix_getpid());
|
||||
|
||||
// get the location for the deployer configuration
|
||||
$deployerConfig = $config->has('deployer_config') ? $config->get('deployer_config') : null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user