Skip to content
Permalink
Browse files

typo

  • Loading branch information...
dg committed Mar 11, 2019
1 parent c928a7f commit f0c45557ed36f7dda23702056808ca50b7a25939
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Bridges/CacheDI/CacheExtension.php
@@ -40,12 +40,12 @@ public function loadConfiguration()
if (extension_loaded('pdo_sqlite')) {
$builder->addDefinition($this->prefix('journal'))
->setType(Nette\Caching\Storages\IJournal::class)
->setFactory(Nette\Caching\Storages\SQLiteJournal::class, [$this->tempDir . '/cache/journal.s3db']);
->setFactory(Nette\Caching\Storages\SQLiteJournal::class, [$dir . '/journal.s3db']);
}
$builder->addDefinition($this->prefix('storage'))
->setType(Nette\Caching\IStorage::class)
->setFactory(Nette\Caching\Storages\FileStorage::class, [$this->tempDir . '/cache']);
->setFactory(Nette\Caching\Storages\FileStorage::class, [$dir]);
if ($this->name === 'cache') {
if (extension_loaded('pdo_sqlite')) {

0 comments on commit f0c4555

Please sign in to comment.
You can’t perform that action at this time.