Browse Source

Update Dirk

md5 -> sha1
Visman 4 năm trước cách đây
mục cha
commit
c8fae44a73
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      vendor/artoodetoo/dirk/src/Dirk.php

+ 1 - 1
vendor/artoodetoo/dirk/src/Dirk.php

@@ -42,7 +42,7 @@ class Dirk extends PhpEngine
     {
         $name = \str_replace('.', '/', $name);
         $tpl  = $this->views . '/' . $name . $this->ext;
-        $php  = $this->cache . '/' . \md5($name) . '.php';
+        $php  = $this->cache . '/' . \sha1($name) . '.php';
         if (
             ! \file_exists($php)
             || \filemtime($tpl) > \filemtime($php)