Skip to content

Commit

Permalink
wp-content rarely writeable by php, store twig-cache in uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
jonsherrard committed Sep 28, 2017
1 parent 4c0be93 commit cdd99d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Herbert/Framework/Providers/TwigServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function register()
return [
'debug' => $this->app->environment() === 'local',
'charset' => 'utf-8',
'cache' => content_directory() . '/twig-cache',
'cache' => content_directory() . '/uploads/twig-cache',
'auto_reload' => true,
'strict_variables' => false,
'autoescape' => true,
Expand Down

0 comments on commit cdd99d0

Please sign in to comment.