diff options
author | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-05-27 03:19:35 +0400 |
---|---|---|
committer | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-05-27 03:19:35 +0400 |
commit | 2394fe583c7ea20334157263c3d1547e883d4843 (patch) | |
tree | c42a88cb551b826e862eb00eaf4a3c2ef4a0418a | |
parent | 8a749f135d57244ca8e2b886145e68168f86135f (diff) |
Tweak to last commit, use full path when checking if image exists.
-rw-r--r-- | plugins/UserSettings/functions.php | 2 |
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'; |