mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
"using the configured temp directory for uploaded files"
This commit is contained in:
parent
f40cfd935d
commit
4048c304d7
@ -521,9 +521,9 @@ class link_widget
|
||||
{
|
||||
if (!$value['to_id'] || is_array($value['to_id'])) // otherwise the webserver deletes the file
|
||||
{
|
||||
if (is_dir($GLOBALS['egw_info']['server']['tmp_dir']) && is_writable($GLOBALS['egw_info']['server']['tmp_dir']))
|
||||
if (is_dir($GLOBALS['egw_info']['server']['temp_dir']) && is_writable($GLOBALS['egw_info']['server']['temp_dir']))
|
||||
{
|
||||
$new_file = tempnam($GLOBALS['egw_info']['server']['tmp_dir'],'egw_');
|
||||
$new_file = tempnam($GLOBALS['egw_info']['server']['temp_dir'],'egw_');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user