Skip to content

Commit

Permalink
Update index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
yitd committed Feb 14, 2021
1 parent 9cf3e3c commit e95e461
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php
if (strstr($_SERVER["REQUEST_URI"], "*q") !== false) {
setcookie("urlss", "", "0", "/");
foreach ($_COOKIE as $key => $value) {
setcookie($key, null);
}
header("Location: https://" . $_SERVER['HTTP_HOST']);
exit;
}
Expand Down

0 comments on commit e95e461

Please sign in to comment.