Skip to content
Extraits de code Groupes Projets
Valider 54d80251 rédigé par sgiehl's avatar sgiehl
Parcourir les fichiers

fixed constant usage

parent 302d0c02
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -84,7 +84,7 @@ function getSocialsLogoFromUrl($domain) ...@@ -84,7 +84,7 @@ function getSocialsLogoFromUrl($domain)
$filePattern = 'plugins/Referrers/images/socials/%s.png'; $filePattern = 'plugins/Referrers/images/socials/%s.png';
foreach ($socialNetworks as $domainKey => $name) { foreach ($socialNetworks as $domainKey => $name) {
if ($social == $socialNetworks[$domainKey] && file_exists(PIWIK_DOCUMENT_ROOT . '/' . sprintf($filePattern, $domainKey))) { if ($social == $socialNetworks[$domainKey] && file_exists(PIWIK_INCLUDE_PATH . '/' . sprintf($filePattern, $domainKey))) {
return sprintf($filePattern, $domainKey); return sprintf($filePattern, $domainKey);
} }
} }
......
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