remove dead code

This commit is contained in:
El RIDO
2025-11-11 12:49:37 +01:00
committed by GitHub
parent 51bb637411
commit a371f5cab5

View File

@@ -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;