Skip to content

Commit f0c4555

Browse files
committed
typo
1 parent c928a7f commit f0c4555

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Bridges/CacheDI/CacheExtension.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ public function loadConfiguration()
4040
if (extension_loaded('pdo_sqlite')) {
4141
$builder->addDefinition($this->prefix('journal'))
4242
->setType(Nette\Caching\Storages\IJournal::class)
43-
->setFactory(Nette\Caching\Storages\SQLiteJournal::class, [$this->tempDir . '/cache/journal.s3db']);
43+
->setFactory(Nette\Caching\Storages\SQLiteJournal::class, [$dir . '/journal.s3db']);
4444
}
4545

4646
$builder->addDefinition($this->prefix('storage'))
4747
->setType(Nette\Caching\IStorage::class)
48-
->setFactory(Nette\Caching\Storages\FileStorage::class, [$this->tempDir . '/cache']);
48+
->setFactory(Nette\Caching\Storages\FileStorage::class, [$dir]);
4949

5050
if ($this->name === 'cache') {
5151
if (extension_loaded('pdo_sqlite')) {

0 commit comments

Comments
 (0)