Skip to content

Commit

Permalink
fix: normalize windows file path
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Dec 4, 2023
1 parent 6f7439e commit 7895e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RockFrontend.module.php
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ public function getTplPath()
$trace = debug_backtrace();
$paths = $this->wire->config->paths;
foreach ($trace as $step) {
$file = $step['file'];
$file = Paths::normalizeSeparators($step['file']);

// first check for latte cache files
// these files are .php files compiled from the original .latte file
Expand Down

0 comments on commit 7895e06

Please sign in to comment.