forked from extern/egroupware
now setting /tmp or c:\temp automatically as temp-dir (was only /tmp)
This commit is contained in:
parent
1417a115f6
commit
23bf823035
@ -199,6 +199,10 @@
|
||||
{
|
||||
$GLOBALS['current_config']['temp_dir'] = '/tmp';
|
||||
}
|
||||
elseif(@is_dir('c:\\temp'))
|
||||
{
|
||||
$GLOBALS['current_config']['temp_dir'] = 'c:\\temp';
|
||||
}
|
||||
else
|
||||
{
|
||||
$GLOBALS['current_config']['temp_dir'] = '/path/to/temp/dir';
|
||||
|
Loading…
Reference in New Issue
Block a user