소스 검색

remove dead code

El RIDO 8 달 전
부모
커밋
fffa9fb4e9
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      lib/View.php

+ 0 - 1
lib/View.php

@@ -58,7 +58,6 @@ class View
         }
         foreach (new GlobIterator($dir . '*.php') as $tplFile) {
             if ($tplFile->getRealPath() === $path) {
-                $templatesInPath = new GlobIterator(PATH . 'tpl' . DIRECTORY_SEPARATOR . '*.php');
                 extract($this->_variables);
                 include $path;
                 return;