Преглед изворни кода

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');
             throw new InvalidArgumentException('Key is not a legal value');
         }
         }
         if ('poll' == \substr($key, 0, 4)) {
         if ('poll' == \substr($key, 0, 4)) {
-            return $this->cacheDir . "/polls/cache_{$key}.php";
+            return $this->cacheDir . "/polls/{$key}.php";
         } else {
         } else {
             return $this->cacheDir . "/cache_{$key}.php";
             return $this->cacheDir . "/cache_{$key}.php";
         }
         }