diff --git a/common.php b/common.php index fdab089..6f8f3ff 100644 --- a/common.php +++ b/common.php @@ -563,6 +563,10 @@ function filecache() } $tag = __DIR__ . '/OneManager/' . $_SERVER['disktag']; while (strpos($tag, '/')>-1) $tag = str_replace('/', '_', $tag); + if (strpos($tag, ':')>-1) { + while (strpos($tag, ':')>-1) $tag = str_replace(':', '_', $tag); + while (strpos($tag, '\\')>-1) $tag = str_replace('\\', '_', $tag); + } // error_log('DIR:' . $dir . ' TAG: ' . $tag); $cache = new \Doctrine\Common\Cache\FilesystemCache($dir, $tag); return $cache;