clear icon cache after modify

This commit is contained in:
xiaomlove
2023-02-06 14:25:05 +08:00
parent 23ea393ffe
commit 59b7a2916e
12 changed files with 35 additions and 13 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ function emu_getallheaders() {
function block_browser()
{
$agent = $_SERVER["HTTP_USER_AGENT"];
$agent = $_SERVER["HTTP_USER_AGENT"] ?? '';
if (preg_match("/^Mozilla/", $agent) || preg_match("/^Opera/", $agent) || preg_match("/^Links/", $agent) || preg_match("/^Lynx/", $agent) )
err("Browser access blocked!");
// check headers