瀏覽代碼

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;