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:
authorrobocoder <anthon.pang@gmail.com>2011-03-12 01:11:22 +0300
committerrobocoder <anthon.pang@gmail.com>2011-03-12 01:11:22 +0300
commitb1054c1fcf8f73d817ba61199020bd53a34f3fd9 (patch)
tree14c0751468e754d639fea1cce6b8c1184a5c5a55 /libs/upgradephp
parent1d01123e1f2e8d8507a8b0e6d2ccd295037fe0d7 (diff)
refs #2177 - optional args
git-svn-id: http://dev.piwik.org/svn/trunk@4069 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'libs/upgradephp')
-rw-r--r--libs/upgradephp/upgrade.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/upgradephp/upgrade.php b/libs/upgradephp/upgrade.php
index d46c5af0c0..a3274a541e 100644
--- a/libs/upgradephp/upgrade.php
+++ b/libs/upgradephp/upgrade.php
@@ -956,7 +956,7 @@ function safe_unserialize( $str )
* @param resource $context
* @return int the number of bytes read from the file, or false if an error occurs
*/
-function _readfile($filename, $useIncludePath, $context)
+function _readfile($filename, $useIncludePath = false, $context = null)
{
$count = @filesize($filename);