Merge branch 'develop' of https://github.com/PHPOffice/PHPWord into release_0.14
This commit is contained in:
commit
8d82340589
|
|
@ -305,12 +305,11 @@ class Settings
|
|||
*/
|
||||
public static function getTempDir()
|
||||
{
|
||||
$tempDir = sys_get_temp_dir();
|
||||
|
||||
if (!empty(self::$tempDir)) {
|
||||
$tempDir = self::$tempDir;
|
||||
} else {
|
||||
$tempDir = sys_get_temp_dir();
|
||||
}
|
||||
|
||||
return $tempDir;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue