mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-25 17:23:00 +00:00
fix whitespace
This commit is contained in:
parent
171f9f4874
commit
ad8d05a3eb
2 changed files with 109 additions and 112 deletions
|
@ -354,11 +354,8 @@ register_module([
|
||||||
$allheaders = getallheaders();
|
$allheaders = getallheaders();
|
||||||
$allheaders = array_change_key_case($allheaders, CASE_LOWER);
|
$allheaders = array_change_key_case($allheaders, CASE_LOWER);
|
||||||
if(!isset($allheaders["if-none-match"]))
|
if(!isset($allheaders["if-none-match"]))
|
||||||
{
|
|
||||||
header("etag: $preview_etag");
|
header("etag: $preview_etag");
|
||||||
}
|
else {
|
||||||
else
|
|
||||||
{
|
|
||||||
if($allheaders["if-none-match"] === $preview_etag)
|
if($allheaders["if-none-match"] === $preview_etag)
|
||||||
{
|
{
|
||||||
http_response_code(304);
|
http_response_code(304);
|
||||||
|
|
Loading…
Reference in a new issue