sDataPath}/demo"; if (\is_dir($sDataPath) && 0 === \random_int(0, 100)) { \MailSo\Base\Utils::RecRmDir("{$this->sDataPath}/demo"); } $sDataPath .= '/' . \RainLoop\Utils::fixName(\RainLoop\Utils::GetConnectionToken()); \is_dir($sDataPath) || \mkdir($sDataPath, 0700, true); return $sDataPath . '/' . ($sKey ? \RainLoop\Utils::fixName($sKey) : ''); } }