<?php
+
+use Friendica\Core\System;
+
/**
* Super-skeletal class to interact with Diaspora.
*
$this->setPassword($password);
}
- $this->cookiejar = tempnam(get_temppath(), 'cookies');
+ $this->cookiejar = tempnam(System::getTempPath(), 'cookies');
return $this;
}