use Friendica\Core\Protocol;
use Friendica\Core\System;
use Friendica\Database\DBA;
use Friendica\Core\Protocol;
use Friendica\Core\System;
use Friendica\Database\DBA;
$adminlist = explode(',', str_replace(' ', '', $admin_email));
$adminlist = explode(',', str_replace(' ', '', $admin_email));
if (($temppath != "") && System::isDirectoryUsable($temppath)) {
// We have a temp path and it is usable
if (($temppath != "") && System::isDirectoryUsable($temppath)) {
// We have a temp path and it is usable
if (System::isDirectoryUsable($new_temppath)) {
// The new path is usable, we are happy
if (System::isDirectoryUsable($new_temppath)) {
// The new path is usable, we are happy
function get_itemcachepath()
{
// Checking, if the cache is deactivated
function get_itemcachepath()
{
// Checking, if the cache is deactivated
if (($itemcache != "") && System::isDirectoryUsable($itemcache)) {
return BasePath::getRealPath($itemcache);
}
if (($itemcache != "") && System::isDirectoryUsable($itemcache)) {
return BasePath::getRealPath($itemcache);
}
if (($spoolpath != "") && System::isDirectoryUsable($spoolpath)) {
// We have a spool path and it is usable
return $spoolpath;
if (($spoolpath != "") && System::isDirectoryUsable($spoolpath)) {
// We have a spool path and it is usable
return $spoolpath;
if (System::isDirectoryUsable($spoolpath)) {
// The new path is usable, we are happy
if (System::isDirectoryUsable($spoolpath)) {
// The new path is usable, we are happy