ソースを参照

Shorten the file name for the polls cache.

Visman 4 年 前
コミット
bd67fc9796
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/Core/Cache/FileCache.php

+ 1 - 1
app/Core/Cache/FileCache.php

@@ -204,7 +204,7 @@ class FileCache implements CacheInterface
             throw new InvalidArgumentException('Key is not a legal value');
         }
         if ('poll' == \substr($key, 0, 4)) {
-            return $this->cacheDir . "/polls/cache_{$key}.php";
+            return $this->cacheDir . "/polls/{$key}.php";
         } else {
             return $this->cacheDir . "/cache_{$key}.php";
         }