diff --git a/src/web/helpers/image.php b/src/web/helpers/image.php index 8d58c1e..c18154a 100644 --- a/src/web/helpers/image.php +++ b/src/web/helpers/image.php @@ -30,9 +30,7 @@ function __make_source( $media = ''; } $main = $GLOBALS['main_model']; - $file = $name . '.' . $format; - $time = filemtime($GLOBALS['publicroot'] . '/' . $file); - $path = $main->get_url('public/' . $file) . "?r={$time}"; + $path = $main->get_url('public/' . $name . '.' . $format); $mime = __get_mime($format); return sprintf('', $mime, $path, $media);