Skip to content

Commit 9f1e5ee

Browse files
authored
use bgtfw's wpfs call
1 parent 0eb70d8 commit 9f1e5ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Compiler.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3729,7 +3729,8 @@ protected function importFile($path, OutputBlock $out)
37293729

37303730
$tree = $this->importCache[$realPath];
37313731
} else {
3732-
$code = file_get_contents($path);
3732+
$wpfs = new \Boldgrid_Framework_Wp_Fs();
3733+
$code = $wpfs->get_contents($path);
37333734
$parser = $this->parserFactory($path);
37343735
$tree = $parser->parse($code);
37353736

0 commit comments

Comments
 (0)