Skip to content

Commit

Permalink
Merge pull request #132 from SocolaDaiCa-contributions/main
Browse files Browse the repository at this point in the history
fix: finding original file using compiled filepath
  • Loading branch information
freekmurze authored Jan 3, 2023
2 parents a66d17a + 3036d5a commit 1a2b4bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Views/ViewExceptionMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ protected function getKnownPaths(): array
foreach ($lastCompiled as $lastCompiledPath) {
$compiledPath = $this->compilerEngine->getCompiler()->getCompiledPath($lastCompiledPath);

$knownPaths[$compiledPath ?? $lastCompiledPath] = $lastCompiledPath;
$knownPaths[realpath($compiledPath ?? $lastCompiledPath)] = realpath($lastCompiledPath);
}

return $knownPaths;
Expand Down

0 comments on commit 1a2b4bd

Please sign in to comment.