We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 576a1a2 commit 843320aCopy full SHA for 843320a
1 file changed
plugins/tracklabels/action.php
@@ -89,6 +89,8 @@ function image_name($prefix, $req_field)
89
@$client->fetchComplex($url);
90
if ($client->status == 200)
91
file_put_contents($ico_name, $client->results);
92
+ if (strpos(mime_content_type($ico_name), "image/")===false)
93
+ @unlink($ico_name);
94
try_send_image($ico_name, 'image/x-icon');
95
}
96
0 commit comments