Skip to content

Commit

Permalink
feat: update cache directory of HtmlPurifier (dvsa/olcs-internal#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLicense authored Mar 20, 2024
1 parent ce6b869 commit f26f58c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion app/internal/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ test/coverage/
config/development.config.php
vendor-bin/**/composer.lock
.phpunit.result.cache
data/cache/*

# Non-dist files for the static analysis.
# This allows developers to set a different (more strict) static analysis locally.
Expand Down
2 changes: 1 addition & 1 deletion app/internal/config/autoload/config.global.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
],
],
],
'html-purifier-cache-dir' => '/var/tmp/htmlPurifierCache',
'html-purifier-cache-dir' => 'data/cache/HtmlPurifier',

'auth' => [
'user_unique_id_salt' => '%user_unique_id_salt%',
Expand Down
2 changes: 0 additions & 2 deletions app/internal/config/autoload/local.php.dist
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,6 @@ return [
],
],
],
'html-purifier-cache-dir' => '/tmp',

'auth' => [
'user_unique_id_salt' => '1234',
],
Expand Down
1 change: 1 addition & 0 deletions app/internal/data/cache/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*
!.gitignore
!*/
2 changes: 2 additions & 0 deletions app/internal/data/cache/HtmlPurifier/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore

0 comments on commit f26f58c

Please sign in to comment.