Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
feat: update cache directory of HtmlPurifier (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLicense authored Mar 20, 2024
1 parent d792d93 commit 6c6f968
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,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 config/autoload/config.global.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
],
],

'html-purifier-cache-dir' => '/var/tmp/htmlPurifierCache',
'html-purifier-cache-dir' => 'data/cache/HtmlPurifier',

'verify' => [
'forwarder' => [
Expand Down
1 change: 0 additions & 1 deletion config/autoload/local.php.dist
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ return [
\Dvsa\Olcs\Transfer\Query\CacheableLongTermQueryInterface::class => 43200, //12 hours
],
],
'html-purifier-cache-dir' => '/tmp',

'verify' => [
'forwarder' => [
Expand Down
3 changes: 3 additions & 0 deletions data/cache/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*
!.gitignore
!*/
2 changes: 2 additions & 0 deletions data/cache/HtmlPurifier/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore

0 comments on commit 6c6f968

Please sign in to comment.