Fix before merge

This commit is contained in:
Michael RICOIS 2017-08-30 10:29:43 +02:00
parent 0d80c44cab
commit 42b9247f65

View File

@ -6,7 +6,7 @@ class SaleCache
private $smarty = null;
private $max_filemtime = 0;
private $template_path = '';
private $path_cache = '';
private $path_cache_file = '';
function __construct(Context $context, $cache_prefix, $lifetime, $is_sales_news = null)
{
@ -70,7 +70,7 @@ class SaleCache
static function clearAll()
{
foreach(glob(__DIR__.'/../cache/*') as $path_file) {
foreach(glob(_PS_CACHE_DIR_.'smarty/cache/privatesales/*') as $path_file) {
if (preg_match('/index\.php$/', $path_file)===1) {
continue;
}