Visman 1 năm trước cách đây
mục cha
commit
a77b4e4ecb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Core/View.php

+ 1 - 1
app/Core/View.php

@@ -168,7 +168,7 @@ class View
         $st = \preg_replace('%\W%', '-', $name);
 
         foreach ($this->other as $hash => $cur) {
-            if (\file_exist($tpl = "{$cur[0]}/{$name}{$this->ext}")) {
+            if (\file_exists($tpl = "{$cur[0]}/{$name}{$this->ext}")) {
                 $php = "{$this->cache}/_{$st}-{$hash}.php";
 
                 if (