Fixed the cache cleanup in the update script.
parent
cb084d6a21
commit
35a44c2b2e
|
@ -105,9 +105,9 @@ cd ../..
|
||||||
|
|
||||||
if [[ $forceClearCache -eq 1 ]]; then
|
if [[ $forceClearCache -eq 1 ]]; then
|
||||||
# Clear Laminas cache
|
# Clear Laminas cache
|
||||||
php ./public/index.php orm:clear-cache:metadata
|
rm -rf data/cache/*
|
||||||
php ./public/index.php orm:clear-cache:query
|
rm -rf data/DoctrineORMModule/Proxy/*
|
||||||
php ./public/index.php orm:clear-cache:result
|
rm -rf data/LazyServices/Proxy/*
|
||||||
|
|
||||||
# Clear Laminas cache
|
# Clear Laminas cache
|
||||||
touch ./data/cache/upgrade && chmod 777 ./data/cache/upgrade
|
touch ./data/cache/upgrade && chmod 777 ./data/cache/upgrade
|
||||||
|
|
Loading…
Reference in New Issue