Wink
Chevereto Member
Line 361 in app\lib\classes\class.image.php
We must use gmdate() function here, not date(), because in class.storage.php we have this:
and image_date_gmt is GMT time
OR maybe we need to fix class.storage.php?
PHP:
$datefolder = date('Y/m/d/');
We must use gmdate() function here, not date(), because in class.storage.php we have this:
PHP:
$datefolder = preg_replace('#'.CHV_PATH_IMAGES.'#', '', $destination, 1);
if($datefolder) {
$datefolder = str_replace('/', '-', rtrim($datefolder, '/'));
$stock_qry .= 'AND DATE(image_date_gmt)=:image_date_gmt ';
$stock_binds['date_gmt'] = $datefolder;
}
and image_date_gmt is GMT time
OR maybe we need to fix class.storage.php?