Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenaka Moorthi <benaka.moorthi@gmail.com>2013-05-27 03:19:35 +0400
committerBenaka Moorthi <benaka.moorthi@gmail.com>2013-05-27 03:19:35 +0400
commit2394fe583c7ea20334157263c3d1547e883d4843 (patch)
treec42a88cb551b826e862eb00eaf4a3c2ef4a0418a
parent8a749f135d57244ca8e2b886145e68168f86135f (diff)
Tweak to last commit, use full path when checking if image exists.
-rw-r--r--plugins/UserSettings/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserSettings/functions.php b/plugins/UserSettings/functions.php
index 44b8dafd12..80a63a589e 100644
--- a/plugins/UserSettings/functions.php
+++ b/plugins/UserSettings/functions.php
@@ -156,7 +156,7 @@ function Piwik_getBrowserVersion($str)
function Piwik_getLogoImageFromId($dir, $id)
{
$path = $dir.'/'.$id.'.gif';
- if (file_exists($path)) {
+ if (file_exists(PIWIK_INCLUDE_PATH . '/' . $path)) {
return $path;
} else {
return $dir.'/UNK.gif';