diff --git a/phpgwapi/inc/class.setup_process.inc.php b/phpgwapi/inc/class.setup_process.inc.php index 9c7f8d3b91..4475b58107 100644 --- a/phpgwapi/inc/class.setup_process.inc.php +++ b/phpgwapi/inc/class.setup_process.inc.php @@ -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';