diff options
author | Fabian Becker <fabian.becker@uni-tuebingen.de> | 2013-07-18 13:25:08 +0400 |
---|---|---|
committer | Fabian Becker <fabian.becker@uni-tuebingen.de> | 2013-07-18 13:25:08 +0400 |
commit | 879d0e094824bd6d46ca1ecbba1cda945394bb05 (patch) | |
tree | 038ad7cbfe1e6441ada4e5a979ec54331d910f42 /core/Http.php | |
parent | df0fd261c9172926a8a2a9a05fd4b30bd840d5f7 (diff) |
Refactor Piwik_Config to \Piwik\Core\Config
2 steps required:
1. Refactor > Move > \Piwik\Core\Config (uncheck "Create new File")
2. Refactor > Rename > Piwik_Config to Config
Diffstat (limited to 'core/Http.php')
-rw-r--r-- | core/Http.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/core/Http.php b/core/Http.php index d120a49a91..5aa2712a9b 100644 --- a/core/Http.php +++ b/core/Http.php @@ -8,6 +8,7 @@ * @category Piwik * @package Piwik */ +use Piwik\Core\Config; /** * Server-side http client to retrieve content from remote servers, and optionally save to a local file. @@ -145,10 +146,10 @@ class Piwik_Http } // proxy configuration - $proxyHost = Piwik_Config::getInstance()->proxy['host']; - $proxyPort = Piwik_Config::getInstance()->proxy['port']; - $proxyUser = Piwik_Config::getInstance()->proxy['username']; - $proxyPassword = Piwik_Config::getInstance()->proxy['password']; + $proxyHost = Config::getInstance()->proxy['host']; + $proxyPort = Config::getInstance()->proxy['port']; + $proxyUser = Config::getInstance()->proxy['username']; + $proxyPassword = Config::getInstance()->proxy['password']; // other result data $status = null; |