diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2014-06-19 06:52:26 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2014-06-19 06:52:26 +0400 |
commit | 9512794a352c84dcc5dd11d69d2e5ceb23e75dc9 (patch) | |
tree | b22ea67987bf155efcada28c659eca04bb474961 /libs/upgradephp | |
parent | f169ee42e8bc15ffa63b5589d16280aa10e88ee1 (diff) |
Move tracker proxy logic in js/index.php to js/tracker.php & allow the removal of the comment header in piwik.js (includes test). Also remove @group from static file serve test & fix bug in modified _readfile() proxy.
Diffstat (limited to 'libs/upgradephp')
-rw-r--r-- | libs/upgradephp/upgrade.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/upgradephp/upgrade.php b/libs/upgradephp/upgrade.php index 7d23172470..0108f72d7a 100644 --- a/libs/upgradephp/upgrade.php +++ b/libs/upgradephp/upgrade.php @@ -638,7 +638,7 @@ function _readfile($filename, $byteStart, $byteEnd, $useIncludePath = false, $co } fclose($handle); - return $count; + return $byteEnd - $byteStart; } return false; } |