From 6ae0717e32bd8c5a4ec8135a26a400939feecb28 Mon Sep 17 00:00:00 2001 From: Damien Metzger Date: Thu, 18 Jul 2013 14:48:32 +0200 Subject: [PATCH 1/6] // PS Cleaner now clean the img/tmp dir --- modules/pscleaner/pscleaner.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/pscleaner/pscleaner.php b/modules/pscleaner/pscleaner.php index 5b00d4831..9f7215a5f 100644 --- a/modules/pscleaner/pscleaner.php +++ b/modules/pscleaner/pscleaner.php @@ -372,6 +372,7 @@ class PSCleaner extends Module // @Todo: Remove attachment files, images... Image::clearTmpDir(); + $this->clearAllCaches(); return $logs; } @@ -559,6 +560,9 @@ class PSCleaner extends Module protected function clearAllCaches() { + $index = file_get_contents(_PS_TMP_IMG_DIR_.'index.php'); + Tools::deleteDirectory(_PS_TMP_IMG_DIR_, false); + file_put_contents(_PS_TMP_IMG_DIR_.'index.php', $index); Context::getContext()->smarty->clearAllCache(); } } From 2c6978e97cd52c99da5d7eb27cdfa1feaf4d0db2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Nadaud?= Date: Thu, 18 Jul 2013 14:55:28 +0200 Subject: [PATCH 2/6] [-] BO : FixBug #PSCFV-6140 Pagination link error --- themes/default/pagination.tpl | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/themes/default/pagination.tpl b/themes/default/pagination.tpl index 070ab7e9b..fa806db11 100644 --- a/themes/default/pagination.tpl +++ b/themes/default/pagination.tpl @@ -53,42 +53,42 @@