Skip to content
Extraits de code Groupes Projets
Valider 33604321 rédigé par Anthon Pang's avatar Anthon Pang Validation de Fabian Becker
Parcourir les fichiers

fix tests

parent e81a89ef
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -579,7 +579,9 @@ class Piwik_Tracker ...@@ -579,7 +579,9 @@ class Piwik_Tracker
$trans_gif_64 = "R0lGODlhAQABAIAAAAAAAAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="; $trans_gif_64 = "R0lGODlhAQABAIAAAAAAAAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==";
$this->sendHeader('Content-Type: image/gif'); $this->sendHeader('Content-Type: image/gif');
if ($_SERVER['REQUEST_METHOD'] !== 'GET') $requestMethod = isset($_SERVER['REQUEST_METHOD']) ? $_SERVER['REQUEST_METHOD'] : 'GET';
if ($requestMethod !== 'GET')
{ {
$origin = isset($_SERVER['HTTP_ORIGIN']) ? $_SERVER['HTTP_ORIGIN'] : '*'; $origin = isset($_SERVER['HTTP_ORIGIN']) ? $_SERVER['HTTP_ORIGIN'] : '*';
$this->sendHeader('Access-Control-Allow-Origin: ' . $origin); $this->sendHeader('Access-Control-Allow-Origin: ' . $origin);
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter