diff options
author | robocoder <anthon.pang@gmail.com> | 2011-03-12 01:11:22 +0300 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2011-03-12 01:11:22 +0300 |
commit | b1054c1fcf8f73d817ba61199020bd53a34f3fd9 (patch) | |
tree | 14c0751468e754d639fea1cce6b8c1184a5c5a55 | |
parent | 1d01123e1f2e8d8507a8b0e6d2ccd295037fe0d7 (diff) |
refs #2177 - optional args
git-svn-id: http://dev.piwik.org/svn/trunk@4069 59fd770c-687e-43c8-a1e3-f5a4ff64c105
-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 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); |