Created
February 18, 2015 06:30
-
-
Save carlessanagustin/415d156639a4ae2a8e8b to your computer and use it in GitHub Desktop.
Clear Prestashop - Smarty cache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo find $1/cache/smarty/cache -type f ! -regex ".*/\(index.php\)" -delete | |
sudo find $1/cache/smarty/compile -type f ! -regex ".*/\(index.php\)" -delete | |
sudo find $1/img/ tmp -type f ! -regex ".*/\(index.php\)" -delete | |
# continue reading: http://www.templatemonster.com/help/prestashop-1-6-x-how-to-clear-smarty-cache.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment