Move compiled views back to cache dir by default (#2837)
* chore(cache-views): move compiled views to [wp-content]/cache/acorn/views Co-authored-by: QWp6t <QWp6t@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use function Roots\resource_path;
|
use function Roots\resource_path;
|
||||||
use function Roots\storage_path;
|
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|
||||||
@@ -32,7 +31,7 @@ return [
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'compiled' => storage_path('framework/views'),
|
'compiled' => WP_CONTENT_DIR . '/cache/acorn/views',
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|||||||
2
storage/framework/views/.gitignore
vendored
2
storage/framework/views/.gitignore
vendored
@@ -1,2 +0,0 @@
|
|||||||
*
|
|
||||||
!.gitignore
|
|
||||||
Reference in New Issue
Block a user