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:
authorsgiehl <stefan@piwik.org>2014-01-17 01:38:25 +0400
committersgiehl <stefan@piwik.org>2014-01-17 01:38:25 +0400
commit2e215ff8752cef2ce80b43bd577cd5d322002abc (patch)
treeedc20bccc1baafdcb194469c452c07d5d8f410c2 /core/DataFiles
parent5d4a4cc65c0f1e33d15d7dd092448514a40ebc1c (diff)
refs #1877 added hooks to add search engines and social networks; some code improvements
Diffstat (limited to 'core/DataFiles')
-rw-r--r--core/DataFiles/SearchEngines.php7
-rwxr-xr-xcore/DataFiles/Socials.php2
2 files changed, 1 insertions, 8 deletions
diff --git a/core/DataFiles/SearchEngines.php b/core/DataFiles/SearchEngines.php
index 2d35b1d94f..2b79e2b7d1 100644
--- a/core/DataFiles/SearchEngines.php
+++ b/core/DataFiles/SearchEngines.php
@@ -1032,11 +1032,4 @@ if (!isset($GLOBALS['Piwik_SearchEngines'])) {
// Zoznam
'www.zoznam.sk' => array('Zoznam', 's', 'hladaj.fcgi?s={k}&co=svet'),
);
-
- $GLOBALS['Piwik_SearchEngines_NameToUrl'] = array();
- foreach ($GLOBALS['Piwik_SearchEngines'] as $url => $info) {
- if (!isset($GLOBALS['Piwik_SearchEngines_NameToUrl'][$info[0]])) {
- $GLOBALS['Piwik_SearchEngines_NameToUrl'][$info[0]] = $url;
- }
- }
}
diff --git a/core/DataFiles/Socials.php b/core/DataFiles/Socials.php
index 58820b5502..e4c63f6257 100755
--- a/core/DataFiles/Socials.php
+++ b/core/DataFiles/Socials.php
@@ -77,7 +77,7 @@ if (!isset($GLOBALS['Piwik_socialUrl'])) {
'github.com' => 'Github',
// Google+
- 'url.google.com' => 'Google+',
+ 'url.google.com' => 'Google%2B',
// douban
'douban.com' => 'douban',