Skip to content

Commit

Permalink
ignore filemtime(): stat failed
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndr-w authored Jul 31, 2022
1 parent b883549 commit 833ef15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/speed_up_asset.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class speed_up_asset {
public static function getUrl($file, $show_timestamp = true)
{
if ($show_timestamp) {
$timestamp = '?timestamp='.filemtime(rex_path::assets($file));
$timestamp = '?timestamp='.@filemtime(rex_path::assets($file));
}

return rex_url::assets($file) . $timestamp;
Expand Down

0 comments on commit 833ef15

Please sign in to comment.