Fix before merge
This commit is contained in:
parent
0d80c44cab
commit
42b9247f65
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user