Issue 4814: Unify the temp path location

This commit is contained in:
Michael 2018-08-10 19:52:09 +00:00
parent d9a740d485
commit db4608a9b5
3 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@ class Diasphp {
$this->token_regex = '/content="(.*?)" name="csrf-token/';
$this->pod = $pod;
$this->cookiejar = tempnam(sys_get_temp_dir(), 'cookies');
$this->cookiejar = tempnam(get_temppath(), 'cookies');
}
function __destruct() {