try Aliyundrive norefer in output
parent
3b084f9544
commit
57f5a1cdd2
|
@ -844,7 +844,7 @@ function needUpdate()
|
|||
function output($body, $statusCode = 200, $headers = ['Content-Type' => 'text/html'], $isBase64Encoded = false)
|
||||
{
|
||||
if (isset($_SERVER['Set-Cookie'])) $headers['Set-Cookie'] = $_SERVER['Set-Cookie'];
|
||||
//$headers['Referrer-Policy'] = 'no-referrer';
|
||||
if (baseclassofdrive()=='Aliyundrive') $headers['Referrer-Policy'] = 'no-referrer';
|
||||
//$headers['Referrer-Policy'] = 'same-origin';
|
||||
//$headers['X-Frame-Options'] = 'sameorigin';
|
||||
return [
|
||||
|
|
Loading…
Reference in New Issue