Remove $_SERVER superglobal dependency from Profile::addVisitorCookieForHTTPSigner
This commit is contained in:
@@ -77,7 +77,7 @@ class Photo extends BaseApi
|
||||
throw new NotModifiedException();
|
||||
}
|
||||
|
||||
Profile::addVisitorCookieForHTTPSigner();
|
||||
Profile::addVisitorCookieForHTTPSigner($this->server);
|
||||
|
||||
$customsize = 0;
|
||||
$square_resize = true;
|
||||
|
||||
Reference in New Issue
Block a user