Skip to content

Commit

Permalink
Formatting to make code more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Chernyshev committed Jul 28, 2011
1 parent fe801a7 commit e9a35a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion details/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@

header('Last-modified: '.date(DATE_RFC2822, $lastupdate));

if (array_key_exists('HTTP_IF_MODIFIED_SINCE', $_SERVER) && ($lastupdate <= strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']))) {
if (array_key_exists('HTTP_IF_MODIFIED_SINCE', $_SERVER) &&
($lastupdate <= strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']))
) {
header('HTTP/1.0 304 Not Modified');
exit;
}
Expand Down

0 comments on commit e9a35a0

Please sign in to comment.