@@ 21-24 (lines=4) @@ | ||
18 | ||
19 | // If is the same ETag, content didn't changed. |
|
20 | $etag = $group->icontime . $group_guid; |
|
21 | if (isset($_SERVER['HTTP_IF_NONE_MATCH']) && trim($_SERVER['HTTP_IF_NONE_MATCH']) == "\"$etag\"") { |
|
22 | header("HTTP/1.1 304 Not Modified"); |
|
23 | exit; |
|
24 | } |
|
25 | ||
26 | $size = strtolower(get_input('size')); |
|
27 | if (!in_array($size, array('large', 'medium', 'small', 'tiny', 'master', 'topbar'))) |
@@ 21-24 (lines=4) @@ | ||
18 | ||
19 | // If is the same ETag, content didn't changed. |
|
20 | $etag = $last_cache . $guid; |
|
21 | if (isset($_SERVER['HTTP_IF_NONE_MATCH']) && trim($_SERVER['HTTP_IF_NONE_MATCH']) == "\"$etag\"") { |
|
22 | header("HTTP/1.1 304 Not Modified"); |
|
23 | exit; |
|
24 | } |
|
25 | ||
26 | $base_dir = dirname(dirname(dirname(__FILE__))); |
|
27 |