Visman 1 년 전
부모
커밋
a77b4e4ecb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 (