Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Commit 1ea65ad

Browse files
committed
Fix absolute cache path #5
1 parent 8fea23e commit 1ea65ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TwigCompiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function __construct(Environment $twig, string $cachePath, bool $verbose
4646
}
4747

4848
$this->twig = $twig;
49-
$this->cachePath = pathinfo(str_replace('\\', '/', $cachePath), PATHINFO_DIRNAME);
49+
$this->cachePath = str_replace('\\', '/', $cachePath);
5050
$this->verbose = $verbose;
5151
}
5252

0 commit comments

Comments
 (0)