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
path: root/libs
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2013-09-14 06:37:21 +0400
committermattab <matthieu.aubry@gmail.com>2013-09-14 06:37:21 +0400
commit8d11a25fa7f41212584a58998c59884a4b9836d4 (patch)
tree39d6e3892346288619987f32a562f7e102c6f34c /libs
parent4e910af4d770e19bcc7f953840662ee8a4c08b20 (diff)
Moving PHP/server settings getter/setter to SettingsServer class
Diffstat (limited to 'libs')
-rw-r--r--libs/upgradephp/upgrade.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/upgradephp/upgrade.php b/libs/upgradephp/upgrade.php
index a9fa7262a8..d32a0fe3c2 100644
--- a/libs/upgradephp/upgrade.php
+++ b/libs/upgradephp/upgrade.php
@@ -35,7 +35,7 @@
* Any contribution is appreciated. <milky*users#sf#net>
*
*/
-use Piwik\Common;
+use Piwik\SettingsServer;
/**
* ------------------------------ 5.2 ---
@@ -620,7 +620,7 @@ function _readfile($filename, $useIncludePath = false, $context = null)
}
// when in doubt (or when readfile() function is disabled)
- $handle = @fopen($filename, Common::isWindows() ? "rb" : "r");
+ $handle = @fopen($filename, SettingsServer::isWindows() ? "rb" : "r");
if ($handle) {
while(!feof($handle)) {
echo fread($handle, 8192);