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>2010-03-24 23:15:34 +0300
committerrobocoder <anthon.pang@gmail.com>2010-03-24 23:15:34 +0300
commitde097821ce7b413538e8a2f2dfc6706e2868d00a (patch)
tree408220166407a143a09fb83c3f1823e757382afa /libs/upgradephp
parent7c9150dd1d4a5321d37cf91ae9df495917424479 (diff)
fixes #1242 - looks like a context bug in PHP because the method is a member of $this class (subclass of Zend_Config), and so should have access to its protected methods
git-svn-id: http://dev.piwik.org/svn/trunk@1989 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'libs/upgradephp')
-rw-r--r--libs/upgradephp/common.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/upgradephp/common.php b/libs/upgradephp/common.php
index 4430b0c799..14552fb113 100644
--- a/libs/upgradephp/common.php
+++ b/libs/upgradephp/common.php
@@ -32,7 +32,7 @@ if (in_array('mysqli', @get_loaded_extensions()) && !function_exists('mysqli_set
/**
* parse_ini_file() replacement.
- * Behaves like parse_ini_file($filename, $process_sections, INI_SCANNER_RAW);
+ * Behaves like parse_ini_file($filename, $process_sections);
*
* @author Andrew Sohn <asohn (at) aircanopy (dot) net>
* @author anthon (dot) pang (at) gmail (dot) com
@@ -42,7 +42,7 @@ if (in_array('mysqli', @get_loaded_extensions()) && !function_exists('mysqli_set
* @return array
*/
if(function_exists('parse_ini_file')) {
- function _parse_ini_file($filename, $process_sections) {
+ function _parse_ini_file($filename, $process_sections = false) {
return parse_ini_file($filename, $process_sections);
}
} else {