diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-04-21 02:33:27 +0400 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-04-21 02:33:27 +0400 |
commit | 247a933f33a4d254f6795327a11260e7bed62ff5 (patch) | |
tree | 535b2a082f18b1fb98982766a6967add1079ab59 /plugins/Referers/API.php | |
parent | 7dd1104f5caf8a12be44c4f85af326f3cb4dbfc3 (diff) |
- trying to clean all the set_include_path stuff
Diffstat (limited to 'plugins/Referers/API.php')
-rw-r--r-- | plugins/Referers/API.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Referers/API.php b/plugins/Referers/API.php index 2c8a0bf845..19196cb23a 100644 --- a/plugins/Referers/API.php +++ b/plugins/Referers/API.php @@ -178,7 +178,7 @@ function Piwik_truncatePath( $path ) function Piwik_getSearchEngineUrlFromName($name) { - require_once PIWIK_DATAFILES_INCLUDE_PATH . "/SearchEngines.php"; + require_once "modules/DataFiles/SearchEngines.php"; if(isset($GLOBALS['Piwik_SearchEngines_NameToUrl'][$name])) { $url = 'http://'.$GLOBALS['Piwik_SearchEngines_NameToUrl'][$name]; @@ -193,8 +193,8 @@ function Piwik_getSearchEngineUrlFromName($name) function Piwik_getSearchEngineLogoFromName($url) { - require_once PIWIK_DATAFILES_INCLUDE_PATH . "/SearchEngines.php"; - $path = PIWIK_PLUGINS_PATH . '/Referers/images/searchEngines/%s.png'; + require_once "modules/DataFiles/SearchEngines.php"; + $path = 'plugins/Referers/images/searchEngines/%s.png'; $beginningUrl = strpos($url,'//') + 2; $normalPath = sprintf($path, substr($url,$beginningUrl)); |