diff --git a/src/Compiler.php b/src/Compiler.php index 7e93fcb0..aeda725d 100644 --- a/src/Compiler.php +++ b/src/Compiler.php @@ -3198,10 +3198,7 @@ protected function importFile($path, $out) $this->importCache[$realPath] = $tree; } - $pi = pathinfo($path); - array_unshift($this->importPaths, $pi['dirname']); $this->compileChildrenNoReturn($tree->children, $out); - array_shift($this->importPaths); } /**