Skip to content

Commit

Permalink
Merge pull request #947 from hydephp/remove-cache-config-file
Browse files Browse the repository at this point in the history
Move the cache.php config file to the Framework package internals
  • Loading branch information
caendesilva authored Feb 9, 2023
2 parents f614b94 + 7178e0e commit 715e8c8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/framework/config/cache.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

return [
'default' => 'file',

'stores' => [
'file' => [
'driver' => 'file',
'path' => storage_path('framework/cache/data'),
],
],
];
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public function register(): void
$this->mergeConfigFrom(__DIR__.'/../../../config/markdown.php', 'markdown');

$this->mergeConfigFrom(__DIR__.'/../../../config/view.php', 'view');
$this->mergeConfigFrom(__DIR__.'/../../../config/cache.php', 'cache');
}

public function boot(): void
Expand Down

0 comments on commit 715e8c8

Please sign in to comment.