Skip to content

Commit

Permalink
Update start_web.php
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor authored Apr 21, 2020
1 parent 3cd1f84 commit 0f6703e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion start_web.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
return;
}

if (!empty($if_modified_since = $request->header('if-modified-since'))) {
$if_modified_since = $request->header('if-modified-since');
if (!empty($if_modified_since)) {
// Check 304.
$info = \stat($file);
$modified_time = $info ? \date('D, d M Y H:i:s', $info['mtime']) . ' ' . \date_default_timezone_get() : '';
Expand Down

0 comments on commit 0f6703e

Please sign in to comment.