Loading clear-cache.shdeleted 100755 → 0 +0 −33 Original line number Diff line number Diff line #!/usr/bin/env bash # # Script de vidage des divers caches applicatifs. # # Usages : # ./clear-cache.sh # set -o errexit DIR=$(cd `dirname $0` && pwd) # # Cache Laminas # LAMINAS_CACHE_DIR=${DIR}/data/cache [[ -d $LAMINAS_CACHE_DIR ]] && \ printf "Vidage du répertoire du cache Laminas '%s'... " $LAMINAS_CACHE_DIR && \ rm -rf $LAMINAS_CACHE_DIR/* && \ echo "Fait." # # Cache Doctrine # DOCTRINE_CACHE_DIR=${DIR}/data/DoctrineModule/cache [[ -d $DOCTRINE_CACHE_DIR ]] && \ printf "Vidage du répertoire du cache Doctrine '%s'... " $DOCTRINE_CACHE_DIR && \ rm -rf $DOCTRINE_CACHE_DIR/* && \ echo "Fait." ${DIR}/vendor/bin/doctrine-module orm:clear-cache:query --flush ${DIR}/vendor/bin/doctrine-module orm:clear-cache:metadata --flush ${DIR}/vendor/bin/doctrine-module orm:clear-cache:result --flush install.sh +0 −2 Original line number Diff line number Diff line Loading @@ -33,5 +33,3 @@ vendor/bin/laminas-development-mode enable # nécessaire ! vendor/bin/doctrine-module orm:generate-proxies vendor/bin/laminas-development-mode disable echo ./clear-cache.sh Loading
clear-cache.shdeleted 100755 → 0 +0 −33 Original line number Diff line number Diff line #!/usr/bin/env bash # # Script de vidage des divers caches applicatifs. # # Usages : # ./clear-cache.sh # set -o errexit DIR=$(cd `dirname $0` && pwd) # # Cache Laminas # LAMINAS_CACHE_DIR=${DIR}/data/cache [[ -d $LAMINAS_CACHE_DIR ]] && \ printf "Vidage du répertoire du cache Laminas '%s'... " $LAMINAS_CACHE_DIR && \ rm -rf $LAMINAS_CACHE_DIR/* && \ echo "Fait." # # Cache Doctrine # DOCTRINE_CACHE_DIR=${DIR}/data/DoctrineModule/cache [[ -d $DOCTRINE_CACHE_DIR ]] && \ printf "Vidage du répertoire du cache Doctrine '%s'... " $DOCTRINE_CACHE_DIR && \ rm -rf $DOCTRINE_CACHE_DIR/* && \ echo "Fait." ${DIR}/vendor/bin/doctrine-module orm:clear-cache:query --flush ${DIR}/vendor/bin/doctrine-module orm:clear-cache:metadata --flush ${DIR}/vendor/bin/doctrine-module orm:clear-cache:result --flush
install.sh +0 −2 Original line number Diff line number Diff line Loading @@ -33,5 +33,3 @@ vendor/bin/laminas-development-mode enable # nécessaire ! vendor/bin/doctrine-module orm:generate-proxies vendor/bin/laminas-development-mode disable echo ./clear-cache.sh